From b89b192201e2262a846deb94a3f0a409c928b3cc Mon Sep 17 00:00:00 2001 From: "kostja@bodhi.local" <> Date: Wed, 7 Mar 2007 14:03:44 +0300 Subject: [PATCH] A fix for the windows build (harmless warning). --- sql/sql_lex.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index d95d2733dcd..4c0ab7a8e54 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -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;