From 1d26537da53fee228b2f9d974d4806a06b76e33e Mon Sep 17 00:00:00 2001 From: "monty@hundin.mysql.fi" <> Date: Sun, 2 Dec 2001 14:34:01 +0200 Subject: Query cache. Remove some warnings --- myisam/mi_delete.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'myisam/mi_delete.c') 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: -- cgit v1.2.1