diff options
Diffstat (limited to 'myisammrg/myrg_extra.c')
-rw-r--r-- | myisammrg/myrg_extra.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/myisammrg/myrg_extra.c b/myisammrg/myrg_extra.c index ad17b0f82f2..d375b45df99 100644 --- a/myisammrg/myrg_extra.c +++ b/myisammrg/myrg_extra.c @@ -38,7 +38,8 @@ int myrg_extra(MYRG_INFO *info,enum ha_extra_function function, } else { - if (function == HA_EXTRA_NO_CACHE || function == HA_EXTRA_RESET) + if (function == HA_EXTRA_NO_CACHE || function == HA_EXTRA_RESET || + function == HA_EXTRA_PREPARE_FOR_UPDATE) info->cache_in_use=0; if (function == HA_EXTRA_RESET || function == HA_EXTRA_RESET_STATE) { |