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

@ -20,7 +20,7 @@
namespace oceanbase {
namespace sql {
class ObExprRegexpReplace : public ObStringExprOperator {
public:
public:
explicit ObExprRegexpReplace(common::ObIAllocator& alloc);
virtual ~ObExprRegexpReplace();
virtual int calc_result_typeN(
@ -32,13 +32,13 @@ class ObExprRegexpReplace : public ObStringExprOperator {
static int eval_regexp_replace(const ObExpr& expr, ObEvalCtx& ctx, ObDatum& expr_datum);
private:
private:
static int calc(common::ObString& ret_str, const common::ObString& text, const common::ObString& pattern,
const common::ObString& replacement_string, int64_t position, int64_t occurrence,
const common::ObCollationType cs_type, const common::ObString& match_param, int null_argument_idx,
ObExprRegexContext* regexp_ptr, common::ObExprStringBuf& string_buf);
private:
private:
DISALLOW_COPY_AND_ASSIGN(ObExprRegexpReplace);
};
} // namespace sql