mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
error of parsing can occur in any SELECT, so all SELECTs have to be checked
This commit is contained in:
parent
1ef48556bd
commit
489bd55741
1 changed files with 2 additions and 1 deletions
|
@ -163,7 +163,8 @@ void lex_start(THD *thd, uchar *buf,uint length)
|
|||
|
||||
void lex_end(LEX *lex)
|
||||
{
|
||||
lex->select_lex.expr_list.delete_elements(); // If error when parsing sql-varargs
|
||||
for(SELECT_LEX *sl= lex->all_selects_list; sl; sl= sl->next_select_in_list())
|
||||
sl->expr_list.delete_elements(); // If error when parsing sql-varargs
|
||||
x_free(lex->yacc_yyss);
|
||||
x_free(lex->yacc_yyvs);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue