From b5567d15031a8a84d184038f73fedc5f24fc1a08 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 21 Jan 2004 15:47:47 +0400 Subject: 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() --- sql/sql_lex.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index efb0ce92ad0..fea16dccd4a 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -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); -- cgit v1.2.1