summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
authorunknown <pappa@c-0c0be253.1238-1-64736c10.cust.bredbandsbolaget.se>2006-01-18 16:18:42 -0500
committerunknown <pappa@c-0c0be253.1238-1-64736c10.cust.bredbandsbolaget.se>2006-01-18 16:18:42 -0500
commit209ff87455cd0e122ea77545c6698d7e7f91ad31 (patch)
treeee77cf2258071aabe8bda13a7b8fe9ccacfe17e1 /sql/sql_lex.cc
parentc945f00ca695fde422d37a49ca6552f685534807 (diff)
downloadmariadb-git-209ff87455cd0e122ea77545c6698d7e7f91ad31.tar.gz
BUG #16596
Moved init to lex_start sql/sql_lex.cc: Added init to lex_start sql/sql_yacc.yy: Removed init from CREATE INDEX code
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 0c4e08abe26..a9050ddf277 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -179,6 +179,7 @@ void lex_start(THD *thd, const uchar *buf, uint length)
lex->query_tables_own_last= 0;
lex->escape_used= lex->et_compile_phase= FALSE;
+ lex->name= 0;
lex->et= NULL;
if (lex->sroutines.records)