Moved init to lex_start


sql/sql_lex.cc:
  Added init to lex_start
sql/sql_yacc.yy:
  Removed init from CREATE INDEX code
This commit is contained in:
unknown 2006-01-18 16:18:42 -05:00
commit 209ff87455
2 changed files with 1 additions and 1 deletions

View file

@ -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)

View file

@ -1229,7 +1229,6 @@ create:
lex->key_list.empty();
lex->col_list.empty();
lex->change=NullS;
lex->name=0;
}
'(' key_list ')' opt_fulltext_parser
{