diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-05-13 14:22:49 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-05-17 13:53:22 +0200 |
commit | 43623f04a98263301b302961be092a0244494ec3 (patch) | |
tree | be088f8102f483b19ba7e2ed512c176e30b721d9 /storage/myisam | |
parent | 73de06c48ff26070cabcd408ebc3d888da88110f (diff) | |
download | mariadb-git-43623f04a98263301b302961be092a0244494ec3.tar.gz |
MDEV-15458 Segfault in heap_scan() upon UPDATE after ADD SYSTEM VERSIONING
handler::write_row() should not destroy the state of the running
index_search/index_next/... or rnd_init/rnd_next/... scan
Diffstat (limited to 'storage/myisam')
-rw-r--r-- | storage/myisam/mi_write.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/storage/myisam/mi_write.c b/storage/myisam/mi_write.c index f6a1cebb3a8..f08dea77354 100644 --- a/storage/myisam/mi_write.c +++ b/storage/myisam/mi_write.c @@ -153,7 +153,6 @@ int mi_write(MI_INFO *info, uchar *record) info->update= (HA_STATE_CHANGED | HA_STATE_AKTIV | HA_STATE_WRITTEN | HA_STATE_ROW_CHANGED); info->state->records++; - info->lastpos=filepos; myisam_log_record(MI_LOG_WRITE,info,record,filepos,0); (void) _mi_writeinfo(info, WRITEINFO_UPDATE_KEYFILE); if (info->invalidator != 0) |