diff options
author | monty@hundin.mysql.fi <> | 2001-12-02 14:34:01 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-12-02 14:34:01 +0200 |
commit | 1d26537da53fee228b2f9d974d4806a06b76e33e (patch) | |
tree | 8e30a64d5c7aaa0ba8554c4c316cc9b76a6724ca /myisam/mi_delete.c | |
parent | 8a8617075a9e6ae3537bb8d81c8f4ab62e77fa44 (diff) | |
download | mariadb-git-1d26537da53fee228b2f9d974d4806a06b76e33e.tar.gz |
Query cache.
Remove some warnings
Diffstat (limited to 'myisam/mi_delete.c')
-rw-r--r-- | myisam/mi_delete.c | 6 |
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: |