From d8c04a6f6cbeb995e06d3bcf10be0d6263af9bcf Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 20 Mar 2006 21:57:23 +0100 Subject: [PATCH] Fix compilation failure when compiling without partitioning, introduced by previous push. --- sql/sql_parse.cc | 2 ++ 1 file changed, 2 insertions(+) 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 =>