reformat source code

according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
gm
2021-06-16 15:48:42 +08:00
committed by MizuhaHimuraki
parent 8c4a2f26a6
commit 4a92b6d7df
3314 changed files with 23131 additions and 23401 deletions

View File

@ -18,7 +18,7 @@
namespace oceanbase {
namespace sql {
class ObExprUnixTimestamp : public ObFuncExprOperator {
public:
public:
explicit ObExprUnixTimestamp(common::ObIAllocator& alloc);
virtual ~ObExprUnixTimestamp();
virtual int calc_result_typeN(
@ -30,7 +30,7 @@ class ObExprUnixTimestamp : public ObFuncExprOperator {
static int eval_unix_timestamp(const ObExpr& expr, ObEvalCtx& ctx, ObDatum& res);
virtual int cg_expr(ObExprCGCtx& expr_cg_ctx, const ObRawExpr& raw_expr, ObExpr& rt_expr) const override;
private:
private:
int calc_result_type_literal(ObExprResType& type, ObExprResType& type1) const;
int calc_result_type_column(ObExprResType& type, ObExprResType& type1) const;
// disallow copy