[CP] [parser]: const in /*!xxx */ shouldn't be parameterized.

This commit is contained in:
wangt1xiuyi
2023-04-18 13:11:41 +00:00
committed by ob-robot
parent 4ebbfc88a9
commit 972723ed66
4 changed files with 20 additions and 26 deletions

View File

@ -1007,4 +1007,12 @@ do {\
} \
} while(0); \
// if the const is in /*! xx**/, we should ignore the const in fast parser.
#define CHECK_MYSQL_COMMENT(p, node)\
do {\
if (p->mysql_compatible_comment_) {\
node->is_hidden_const_ = 1;\
}\
} while(0);\
#endif /* OCEANBASE_SRC_SQL_PARSER_SQL_PARSER_BASE_H_ */