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 ObExprInt2ip : public ObStringExprOperator {
public:
public:
explicit ObExprInt2ip(common::ObIAllocator& alloc);
virtual ~ObExprInt2ip();
virtual int calc_result_type1(ObExprResType& type, ObExprResType& text, common::ObExprTypeCtx& type_ctx) const;
@ -27,12 +27,12 @@ class ObExprInt2ip : public ObStringExprOperator {
virtual int cg_expr(ObExprCGCtx& op_cg_ctx, const ObRawExpr& raw_expr, ObExpr& rt_expr) const override;
static int int2ip_varchar(const ObExpr& expr, ObEvalCtx& ctx, ObDatum& expr_datum);
private:
private:
// helper func
static int int2ip(common::ObObj& result, const int64_t text, common::ObExprStringBuf& string_buf);
static int int2ip(common::ObDatum& result, const int64_t text);
private:
private:
DISALLOW_COPY_AND_ASSIGN(ObExprInt2ip);
};