fix typos
This commit is contained in:
@ -77,7 +77,7 @@ public:
|
||||
// situation we will try find ';' delimiter to parser part of string in case of save memory,
|
||||
// but this maybe parser error and throw error info. However, we will still try parser remain
|
||||
// string when parse part of string failed, if we throw parse part error info, maybe will let
|
||||
// someone misunderstand have bug, So, we introduce this mark to decide to throw parser erorr.
|
||||
// someone misunderstand have bug, So, we introduce this mark to decide to throw parser error.
|
||||
// eg: select '123;' from dual; select '123' from dual;
|
||||
int parse_sql(const common::ObString &stmt,
|
||||
ParseResult &parse_result,
|
||||
|
||||
@ -33,7 +33,7 @@ void *malloc_parentheses_info(const size_t nbyte, void *malloc_pool)
|
||||
return ptr;
|
||||
}
|
||||
|
||||
// get memory from the thread obStringBuf, and not release untill thread quits
|
||||
// get memory from the thread obStringBuf, and not release until thread quits
|
||||
void *parse_malloc(const size_t nbyte, void *malloc_pool)
|
||||
{
|
||||
void *ptr = NULL;
|
||||
|
||||
@ -240,7 +240,7 @@ do {
|
||||
setup_token_pos_info(node, word_start - 1, word_end - word_start + 1); \
|
||||
} while (0)
|
||||
|
||||
//oralce下生成非保留关键字结点请使用该宏,区别于mysql的是做了大写的转换
|
||||
//oracle下生成非保留关键字结点请使用该宏,区别于mysql的是做了大写的转换
|
||||
#define get_oracle_non_reserved_node(node, malloc_pool, expr_start, expr_end) \
|
||||
do { \
|
||||
malloc_terminal_node(node, malloc_pool, T_IDENT); \
|
||||
|
||||
Reference in New Issue
Block a user