[FEAT MERGE]4_1_sql_feature

Co-authored-by: leslieyuchen <leslieyuchen@gmail.com>
Co-authored-by: Charles0429 <xiezhenjiang@gmail.com>
Co-authored-by: raywill <hustos@gmail.com>
This commit is contained in:
obdev
2023-01-28 16:01:26 +08:00
committed by ob-robot
parent 3080f2b66f
commit 2d19a9d8f5
846 changed files with 161957 additions and 116661 deletions

View File

@ -35,19 +35,6 @@ public:
virtual bool need_rt_ctx() const override { return true; }
static int eval_regexp_count(const ObExpr &expr, ObEvalCtx &ctx, ObDatum &expr_datum);
static int get_regexp_flags(const common::ObCollationType calc_cs_type,
const common::ObString &match_param,
int &flags,
int &multi_flag);
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,
bool reusable, ObExprRegexContext *regexp_ptr,
common::ObExprStringBuf &string_buf,
common::ObIAllocator &exec_ctx_alloc);
private:
DISALLOW_COPY_AND_ASSIGN(ObExprRegexpCount);
};