[CP] [parser][bugfix]: raise parser_error while these is invalid character.
This commit is contained in:
@ -938,6 +938,7 @@ do {\
|
||||
for (int64_t i = 0; i < str_len; i++) { \
|
||||
if (OB_UNLIKELY(src_str[i] == '\0')) { \
|
||||
yyerror(yylloc, yyextra, "mismatch strlen, may cased by '\0' in str");\
|
||||
return PARSER_SYNTAX_ERROR; \
|
||||
} \
|
||||
} \
|
||||
} \
|
||||
|
Reference in New Issue
Block a user