diff options
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_partition.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc index cd4652b19be..7e8e76f5e13 100644 --- a/sql/sql_partition.cc +++ b/sql/sql_partition.cc @@ -1007,6 +1007,7 @@ init_lex_with_single_table(THD *thd, TABLE *table, LEX *lex) table->map= 1; //To ensure correct calculation of const item table->get_fields_in_item_tree= TRUE; table_list->table= table; + table_list->cacheable_table= false; return FALSE; } |