Commit 3e7d8a78 authored by knielsen@mysql.com's avatar knielsen@mysql.com

Fix compilation failure when compiling without partitioning, introduced

by previous push.
parent 28834f44
......@@ -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 =>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment