diff options
Diffstat (limited to 'myisam/mi_update.c')
-rw-r--r-- | myisam/mi_update.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/myisam/mi_update.c b/myisam/mi_update.c index c52989f493e..1614d6ca19d 100644 --- a/myisam/mi_update.c +++ b/myisam/mi_update.c @@ -119,7 +119,11 @@ int mi_update(register MI_INFO *info, const byte *oldrec, byte *newrec) } } } - if (changed) + /* + If we are running with external locking, we must update the index file + that something has changed + */ + if (changed || !my_disable_locking) key_changed|= HA_STATE_KEY_CHANGED; if (share->calc_checksum) |