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 ObExprHex : public ObStringExprOperator {
public:
public:
explicit ObExprHex(common::ObIAllocator& alloc);
virtual ~ObExprHex();
virtual int calc_result_type1(ObExprResType& type, ObExprResType& text, common::ObExprTypeCtx& type_ctx) const;
@ -29,12 +29,12 @@ class ObExprHex : public ObStringExprOperator {
static int eval_hex(const ObExpr& expr, ObEvalCtx& ctx, ObDatum& expr_datum);
private:
private:
// helper func
static int get_uint64(const common::ObObj& obj, common::ObCastCtx& cast_ctx, uint64_t& out);
static int number_uint64(const common::number::ObNumber& num_val, uint64_t& out);
private:
private:
DISALLOW_COPY_AND_ASSIGN(ObExprHex);
};