treat XOR as logical operator

This commit is contained in:
ls0
2022-03-23 22:08:19 +08:00
committed by LINxiansheng
parent ff8bbf3ebc
commit b286d9ec97
3 changed files with 25 additions and 44 deletions

View File

@ -37,13 +37,11 @@ public:
static int eval_xor(const ObExpr& expr, ObEvalCtx& ctx, ObDatum& expr_datum);
private:
static int cacl_res_with_one_param_null(
common::ObObj& res, const common::ObObj& left, const common::ObObj& right, common::ObExprCtx& expr_ctx);
static int calc_res_with_one_param_null(
common::ObObj &res, const common::ObObj &left, const common::ObObj &right, common::ObExprCtx &expr_ctx);
private:
DISALLOW_COPY_AND_ASSIGN(ObExprXor);
static const double FLOAT_BOUND;
};
} // namespace sql
} // namespace oceanbase