From 97fbbcd17cacf9c3f552787b39337608bb1f0dbb Mon Sep 17 00:00:00 2001
From: "hf@deer.(none)" <>
Date: Wed, 21 Jan 2004 15:47:47 +0400
Subject: [PATCH] yet another cleanup()-related fix

---
 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);
-- 
2.30.9