summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.local>2007-03-07 14:03:44 +0300
committerunknown <kostja@bodhi.local>2007-03-07 14:03:44 +0300
commit4d6e16f284d9699307461b0081269bf4ce8be87e (patch)
treea94cf5b46e649051c47611ccd369099f308a2692 /sql
parent7f69b747d091ef3ca5c2e31b3befd8dd02fbf790 (diff)
downloadmariadb-git-4d6e16f284d9699307461b0081269bf4ce8be87e.tar.gz
A fix for the windows build (harmless warning).
sql/sql_lex.cc: A fix for the windows build.
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_lex.cc2
1 files changed, 1 insertions, 1 deletions
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;