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 ObExprSubstringIndex : public ObStringExprOperator {
public:
public:
explicit ObExprSubstringIndex(common::ObIAllocator& alloc);
virtual ~ObExprSubstringIndex();
virtual int calc_result_type3(ObExprResType& type, ObExprResType& str, ObExprResType& delim, ObExprResType& count,
@ -31,7 +31,7 @@ class ObExprSubstringIndex : public ObStringExprOperator {
static int eval_substring_index(const ObExpr& expr, ObEvalCtx& ctx, ObDatum& expr_datum);
private:
private:
/**
* find m_count apperance of m_delim in m_str(from left or from right)
* @param[in] result calculated result
@ -43,7 +43,7 @@ class ObExprSubstringIndex : public ObStringExprOperator {
static int string_search(
common::ObString& result, const common::ObString& m_str, const common::ObString& m_delim, const int64_t m_count);
private:
private:
DISALLOW_COPY_AND_ASSIGN(ObExprSubstringIndex);
};