patch 4.0
This commit is contained in:
@ -15,22 +15,22 @@
|
||||
|
||||
#include "sql/engine/expr/ob_expr_operator.h"
|
||||
|
||||
namespace oceanbase {
|
||||
namespace sql {
|
||||
namespace oceanbase
|
||||
{
|
||||
namespace sql
|
||||
{
|
||||
// bitwise xor
|
||||
class ObExprBitXor : public ObBitwiseExprOperator {
|
||||
class ObExprBitXor : public ObBitwiseExprOperator
|
||||
{
|
||||
public:
|
||||
explicit ObExprBitXor(common::ObIAllocator& alloc);
|
||||
virtual ~ObExprBitXor(){};
|
||||
|
||||
virtual int calc_result2(
|
||||
common::ObObj& result, const common::ObObj& obj1, const common::ObObj& obj2, common::ObExprCtx& expr_ctx) const;
|
||||
|
||||
virtual int cg_expr(ObExprCGCtx& expr_cg_ctx, const ObRawExpr& raw_expr, ObExpr& rt_expr) const override;
|
||||
explicit ObExprBitXor(common::ObIAllocator &alloc);
|
||||
virtual ~ObExprBitXor() {};
|
||||
|
||||
virtual int cg_expr(ObExprCGCtx &expr_cg_ctx, const ObRawExpr &raw_expr,
|
||||
ObExpr &rt_expr) const override;
|
||||
private:
|
||||
DISALLOW_COPY_AND_ASSIGN(ObExprBitXor);
|
||||
};
|
||||
} // namespace sql
|
||||
} // namespace oceanbase
|
||||
#endif // OCEANBASE_SQL_ENGINE_EXPR_OB_EXPR_XOR_
|
||||
} // namespace sql
|
||||
} // namespace oceanbase
|
||||
#endif // OCEANBASE_SQL_ENGINE_EXPR_OB_EXPR_XOR_
|
||||
|
||||
Reference in New Issue
Block a user