fix unhex when sql_mode is strict
This commit is contained in:
@ -22,7 +22,8 @@ public:
|
||||
explicit ObExprUnhex(common::ObIAllocator& alloc);
|
||||
virtual ~ObExprUnhex();
|
||||
virtual int calc_result_type1(ObExprResType& type, ObExprResType& text, common::ObExprTypeCtx& type_ctx) const;
|
||||
static int calc(common::ObObj& result, const common::ObObj& text, common::ObCastCtx& cast_ctx);
|
||||
static int calc(
|
||||
common::ObObj& result, const common::ObObj& text, common::ObCastCtx& cast_ctx, common::ObExprCtx& expr_ctx);
|
||||
virtual int calc_result1(common::ObObj& result, const common::ObObj& text, common::ObExprCtx& expr_ctx) const;
|
||||
virtual int cg_expr(ObExprCGCtx& op_cg_ctx, const ObRawExpr& raw_expr, ObExpr& rt_expr) const override;
|
||||
static int eval_unhex(const ObExpr& expr, ObEvalCtx& ctx, ObDatum& res_datum);
|
||||
|
||||
Reference in New Issue
Block a user