summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <knielsen@mysql.com>2006-03-20 21:57:23 +0100
committerunknown <knielsen@mysql.com>2006-03-20 21:57:23 +0100
commitd8c04a6f6cbeb995e06d3bcf10be0d6263af9bcf (patch)
tree7b6d698143fcc18ceac85d2bf2adb74d04c56105
parent60bc9ad712c846b235d9856cf5cd9663a9ab076a (diff)
downloadmariadb-git-d8c04a6f6cbeb995e06d3bcf10be0d6263af9bcf.tar.gz
Fix compilation failure when compiling without partitioning, introduced
by previous push.
-rw-r--r--sql/sql_parse.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index b3158756349..cb231a7adea 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -2357,7 +2357,9 @@ mysql_execute_command(THD *thd)
/* Saved variable value */
DBUG_ENTER("mysql_execute_command");
thd->net.no_send_error= 0;
+#ifdef WITH_PARTITION_STORAGE_ENGINE
thd->work_part_info= 0;
+#endif
/*
In many cases first table of main SELECT_LEX have special meaning =>