A fix for the windows build (harmless warning).

sql/sql_lex.cc:
  A fix for the windows build.
This commit is contained in:
unknown 2007-03-07 14:03:44 +03:00
parent 7f69b747d0
commit 4d6e16f284

View File

@ -1672,7 +1672,7 @@ void st_lex::cleanup_lex_after_parse_error(THD *thd)
Sic: we must nullify the member of the main lex, not the
current one that will be thrown away
*/
if (thd->lex->sphead);
if (thd->lex->sphead)
{
delete thd->lex->sphead;
thd->lex->sphead= NULL;