Commit 209ff874 authored by unknown's avatar unknown
Browse files

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
parent c945f00c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)
+0 −1
Original line number Diff line number Diff line
@@ -1229,7 +1229,6 @@ create:
	    lex->key_list.empty();
	    lex->col_list.empty();
	    lex->change=NullS;
	    lex->name=0;
	  }
	   '(' key_list ')' opt_fulltext_parser
	  {