mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
yet another cleanup()-related fix
sql/sql_lex.cc: We need these to be clean. Otherwise restoring of the order_list and group_list could fail in mysql_stmt_execute()
This commit is contained in:
@ -127,6 +127,8 @@ LEX *lex_start(THD *thd, uchar *buf,uint length)
|
||||
lex->select_lex.expr_list.empty();
|
||||
lex->select_lex.ftfunc_list_alloc.empty();
|
||||
lex->select_lex.ftfunc_list= &lex->select_lex.ftfunc_list_alloc;
|
||||
lex->select_lex.group_list.empty();
|
||||
lex->select_lex.order_list.empty();
|
||||
lex->current_select= &lex->select_lex;
|
||||
lex->yacc_yyss=lex->yacc_yyvs=0;
|
||||
lex->ignore_space=test(thd->variables.sql_mode & MODE_IGNORE_SPACE);
|
||||
|
Reference in New Issue
Block a user