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

@ -19,7 +19,7 @@
namespace oceanbase {
namespace sql {
class ObExprRegexpSubstr : public ObStringExprOperator {
public:
public:
explicit ObExprRegexpSubstr(common::ObIAllocator& alloc);
virtual ~ObExprRegexpSubstr();
virtual int calc_result_typeN(
@ -31,13 +31,13 @@ class ObExprRegexpSubstr : public ObStringExprOperator {
static int eval_regexp_substr(const ObExpr& expr, ObEvalCtx& ctx, ObDatum& expr_datum);
private:
private:
static int calc(common::ObString& result, bool& is_null, const common::ObString& text,
const common::ObString& pattern, int64_t position, int64_t occurrence, const common::ObCollationType cs_type,
const common::ObString& match_param, int64_t subexpr, bool has_null_argument, ObExprRegexContext* regexp_ptr,
common::ObExprStringBuf& string_buf);
private:
private:
DISALLOW_COPY_AND_ASSIGN(ObExprRegexpSubstr);
};
} // namespace sql