diff options
author | monty@hundin.mysql.fi <> | 2001-12-05 13:03:00 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-12-05 13:03:00 +0200 |
commit | 1de4fff5ba80982cbed3a524488528c83ed8f945 (patch) | |
tree | 739c2cfffa69408c6460ba4c419a59d5b594cbb1 /myisam | |
parent | 1d26537da53fee228b2f9d974d4806a06b76e33e (diff) | |
download | mariadb-git-1de4fff5ba80982cbed3a524488528c83ed8f945.tar.gz |
Update of query cache code.
Changed some sql_alloc() -> thd->alloc()
Removed a lot of compiler warnings on Linux Alpha (64 bit)
Fixed some core dumps on 64 bit systems (wrong type for packet_len)
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/mi_write.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/myisam/mi_write.c b/myisam/mi_write.c index 5c6db053829..1dd4820bc03 100644 --- a/myisam/mi_write.c +++ b/myisam/mi_write.c @@ -149,6 +149,12 @@ int mi_write(MI_INFO *info, byte *record) info->lastpos=filepos; myisam_log_record(MI_LOG_WRITE,info,record,filepos,0); VOID(_mi_writeinfo(info, WRITEINFO_UPDATE_KEYFILE)); + if (info->invalidator != 0) + { + DBUG_PRINT("info", ("invalidator... '%s' (update)", info->filename)); + (*info->invalidator)(info->filename); + info->invalidator=0; + } allow_break(); /* Allow SIGHUP & SIGINT */ DBUG_RETURN(0); |