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 ObExprRegexpCount : public ObFuncExprOperator {
public:
public:
explicit ObExprRegexpCount(common::ObIAllocator& alloc);
virtual ~ObExprRegexpCount();
virtual int calc_result_typeN(
@ -34,12 +34,12 @@ class ObExprRegexpCount : public ObFuncExprOperator {
static int get_regexp_flags(
const common::ObCollationType calc_cs_type, const common::ObString& match_param, int& flags, int& multi_flag);
private:
private:
static int calc(int64_t& ret_count, const common::ObString& text, const common::ObString& pattern, int64_t position,
const common::ObCollationType calc_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(ObExprRegexpCount);
};
} // namespace sql