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

@ -19,7 +19,7 @@ namespace oceanbase {
namespace sql {
class ObExprSubstr : public ObStringExprOperator {
public:
public:
explicit ObExprSubstr(common::ObIAllocator& alloc);
virtual ~ObExprSubstr();
virtual int calc_result2(common::ObObj& result, const common::ObObj& text, const common::ObObj& start_pos,
@ -41,7 +41,7 @@ class ObExprSubstr : public ObStringExprOperator {
static int eval_substr(const ObExpr& expr, ObEvalCtx& ctx, ObDatum& expr_datum);
private:
private:
int calc_result_length(
ObExprResType* types_array, int64_t param_num, common::ObCollationType cs_type, int64_t& res_len) const;
int calc_result2_for_mysql(common::ObObj& result, const common::ObObj& text, const common::ObObj& start_pos,