summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-11-15 14:37:40 +0200
committerunknown <bell@sanja.is.com.ua>2004-11-15 14:37:40 +0200
commitb685909d6a9e928885ee3e8fb266077718660f3e (patch)
treedebcd49064caf980c1c042aedcc8a3e1c7af0b30 /sql/sql_lex.cc
parentfe37a1472c22b0a48244b932664925cad68f3e96 (diff)
downloadmariadb-git-b685909d6a9e928885ee3e8fb266077718660f3e.tar.gz
moved procedure list initialization (BUG#6517)
mysql-test/r/subselect.result: Subselect in non-select command just after connection mysql-test/t/subselect.test: Subselect in non-select command just after connection sql/sql_lex.cc: moved procedure initialization sql/sql_parse.cc: moved procedure initialization
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r--sql/sql_lex.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index 679ffb2140e..b5cb8735875 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -157,6 +157,7 @@ void lex_start(THD *thd, uchar *buf,uint length)
lex->ignore_space=test(thd->variables.sql_mode & MODE_IGNORE_SPACE);
lex->sql_command=SQLCOM_END;
lex->duplicates= DUP_ERROR;
+ lex->proc_list.first= 0;
}
void lex_end(LEX *lex)