reformat source code

according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
gm
2021-06-16 15:48:42 +08:00
committed by MizuhaHimuraki
parent 8c4a2f26a6
commit 4a92b6d7df
3314 changed files with 23131 additions and 23401 deletions

View File

@ -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;