fix optimizer stats and parser bug
This commit is contained in:
@ -144,6 +144,7 @@ typedef struct _ParseNode
|
||||
uint32_t is_multiset_ : 1; // for cast(multiset(...) as ...)
|
||||
uint32_t is_forbid_anony_parameter_ : 1; // 1 表示禁止匿名块参数化
|
||||
uint32_t is_input_quoted_ : 1; // indicate name_ob input whether with double quote
|
||||
uint32_t is_forbid_parameter_ : 1; //1 indicate forbid parameter
|
||||
uint32_t reserved_;
|
||||
};
|
||||
};
|
||||
|
||||
@ -1011,7 +1011,7 @@ do {\
|
||||
#define CHECK_MYSQL_COMMENT(p, node)\
|
||||
do {\
|
||||
if (p->mysql_compatible_comment_) {\
|
||||
node->is_hidden_const_ = 1;\
|
||||
node->is_forbid_parameter_ = 1;\
|
||||
}\
|
||||
} while(0);\
|
||||
|
||||
|
||||
Reference in New Issue
Block a user