reformat source code
according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
@ -24,7 +24,7 @@ namespace oceanbase {
|
||||
namespace sql {
|
||||
|
||||
struct ObMPParseStat {
|
||||
public:
|
||||
public:
|
||||
ObMPParseStat() : parse_fail_(false), fail_ret_(common::OB_SUCCESS), fail_query_idx_(-1)
|
||||
{}
|
||||
void reset()
|
||||
@ -43,7 +43,7 @@ struct PreParseResult {
|
||||
};
|
||||
|
||||
class ObParser {
|
||||
public:
|
||||
public:
|
||||
explicit ObParser(common::ObIAllocator& allocator, ObSQLMode mode,
|
||||
common::ObCollationType conn_collation = common::CS_TYPE_UTF8MB4_GENERAL_CI);
|
||||
virtual ~ObParser();
|
||||
@ -78,16 +78,16 @@ class ObParser {
|
||||
int prepare_parse(const common::ObString& query, void* ns, ParseResult& parse_result);
|
||||
static int pre_parse(const common::ObString& stmt, PreParseResult& res);
|
||||
|
||||
private:
|
||||
private:
|
||||
static int scan_trace_id(const char* ptr, int64_t len, int32_t& pos, common::ObString& trace_id);
|
||||
static bool is_trace_id_end(char ch);
|
||||
static bool is_space(char ch);
|
||||
// types and constants
|
||||
private:
|
||||
private:
|
||||
// disallow copy
|
||||
DISALLOW_COPY_AND_ASSIGN(ObParser);
|
||||
// function members
|
||||
private:
|
||||
private:
|
||||
// data members
|
||||
common::ObIAllocator* allocator_;
|
||||
// when sql_mode = "ANSI_QUOTES", Treat " as an identifier quote character
|
||||
|
||||
Reference in New Issue
Block a user