summaryrefslogtreecommitdiff
path: root/myisam/mi_delete.c
diff options
context:
space:
mode:
Diffstat (limited to 'myisam/mi_delete.c')
-rw-r--r--myisam/mi_delete.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/myisam/mi_delete.c b/myisam/mi_delete.c
index 65d245e64f9..2a0cd6f6b6d 100644
--- a/myisam/mi_delete.c
+++ b/myisam/mi_delete.c
@@ -97,6 +97,12 @@ int mi_delete(MI_INFO *info,const byte *record)
myisam_log_command(MI_LOG_DELETE,info,(byte*) lastpos,sizeof(lastpos),0);
VOID(_mi_writeinfo(info,WRITEINFO_UPDATE_KEYFILE));
allow_break(); /* Allow SIGHUP & SIGINT */
+ if (info->invalidator != 0)
+ {
+ DBUG_PRINT("info", ("invalidator... '%s' (delete)", info->filename));
+ (*info->invalidator)(info->filename);
+ info->invalidator=0;
+ }
DBUG_RETURN(0);
err: