reformat source code
according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
@ -20,7 +20,7 @@ namespace sql {
|
||||
class ObExprOracleDecode : public ObExprOperator {
|
||||
OB_UNIS_VERSION_V(1);
|
||||
|
||||
public:
|
||||
public:
|
||||
explicit ObExprOracleDecode(common::ObIAllocator& alloc);
|
||||
virtual ~ObExprOracleDecode();
|
||||
virtual int calc_result_typeN(
|
||||
@ -33,19 +33,19 @@ class ObExprOracleDecode : public ObExprOperator {
|
||||
virtual int cg_expr(ObExprCGCtx& expr_cg_ctx, const ObRawExpr& raw_expr, ObExpr& rt_expr) const override;
|
||||
static int eval_decode(const ObExpr& expr, ObEvalCtx& ctx, ObDatum& res);
|
||||
|
||||
public:
|
||||
public:
|
||||
inline void set_cond_all_same_meta(bool all_same_meta);
|
||||
inline void set_val_all_same_meta(bool all_same_meta);
|
||||
static bool can_compare_directly(common::ObObjType type1, common::ObObjType type2);
|
||||
|
||||
private:
|
||||
private:
|
||||
inline static int get_cmp_type(common::ObObjType& type, const common::ObObjType& type1,
|
||||
const common::ObObjType& type2, const common::ObObjType& type3);
|
||||
inline bool is_cond_all_same_meta() const;
|
||||
inline bool is_val_all_same_meta() const;
|
||||
inline bool need_no_cast() const;
|
||||
|
||||
private:
|
||||
private:
|
||||
typedef uint32_t ObExprDecodeParamFlag;
|
||||
static const uint32_t COND_ALL_SAME_META = 1U << 0;
|
||||
static const uint32_t VAL_ALL_SAME_META = 1U << 1;
|
||||
|
||||
Reference in New Issue
Block a user