summaryrefslogtreecommitdiff
path: root/merge
diff options
context:
space:
mode:
Diffstat (limited to 'merge')
-rw-r--r--merge/extra.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/merge/extra.c b/merge/extra.c
index c20241228a2..343806dbfad 100644
--- a/merge/extra.c
+++ b/merge/extra.c
@@ -32,9 +32,9 @@ enum ha_extra_function function;
info->cache_in_use=1;
else
{
- if (function == HA_EXTRA_NO_CACHE)
+ if (function == HA_EXTRA_NO_CACHE || function == HA_EXTRA_RESET)
info->cache_in_use=0;
- if (function == HA_EXTRA_RESET)
+ if (function == HA_EXTRA_RESET || function == HA_EXTRA_RESET_STATE)
{
info->current_table=0;
info->last_used_table=info->open_tables;