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

@ -126,7 +126,7 @@ struct ObExprCtx {
// class sql::ObBasicSessionInfo;
class ObExprTypeCtx {
public:
public:
ObExprTypeCtx()
: coll_type_(CS_TYPE_INVALID),
div_precision_increment_(OB_INVALID_COUNT),
@ -207,7 +207,7 @@ class ObExprTypeCtx {
TO_STRING_KV(K_(coll_type), K_(div_precision_increment), K_(ob_max_allowed_packet), KP_(session), KP_(udf_meta),
K_(cast_mode));
private:
private:
// const sql::ObSQLSessionInfo *my_session_;
ObCollationType coll_type_;
int64_t div_precision_increment_;
@ -222,7 +222,7 @@ class ObExprTypeCtx {
};
class ObISqlExpression {
public:
public:
virtual int calc(ObExprCtx& expr_ctx, const common::ObNewRow& row, common::ObObj& result) const = 0;
virtual int calc(
ObExprCtx& expr_ctx, const common::ObNewRow& row1, const common::ObNewRow& row2, common::ObObj& result) const = 0;
@ -231,7 +231,7 @@ class ObISqlExpression {
};
class ObIColumnExpression {
public:
public:
virtual int64_t get_result_index() const = 0;
virtual int calc_and_project(ObExprCtx& expr_ctx, common::ObNewRow& row) const = 0;
/// Print expression