support oms ncharacter_set_connection
This commit is contained in:
@ -54,9 +54,9 @@ int ObExprUnistr::calc_result_type1(ObExprResType &type,
|
||||
return ret;
|
||||
}
|
||||
|
||||
int calc_unistr(const ObString &src,
|
||||
const ObCollationType src_cs_type,
|
||||
const ObCollationType dst_cs_type,
|
||||
int ObExprUnistr::calc_unistr(const common::ObString &src,
|
||||
const common::ObCollationType src_cs_type,
|
||||
const common::ObCollationType dst_cs_type,
|
||||
char* buf, const int64_t buf_len, int32_t &pos)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
|
||||
@ -30,7 +30,12 @@ public:
|
||||
virtual int cg_expr(ObExprCGCtx &op_cg_ctx,
|
||||
const ObRawExpr &raw_expr,
|
||||
ObExpr &rt_expr) const;
|
||||
static int calc_unistr(const common::ObString &src,
|
||||
const common::ObCollationType src_cs_type,
|
||||
const common::ObCollationType dst_cs_type,
|
||||
char* buf, const int64_t buf_len, int32_t &pos);
|
||||
static int calc_unistr_expr(const ObExpr &expr, ObEvalCtx &ctx, ObDatum &res_datum);
|
||||
|
||||
private:
|
||||
DISALLOW_COPY_AND_ASSIGN(ObExprUnistr);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user