mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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
This commit is contained in:
@ -254,12 +254,7 @@ int TABLE::delete_row()
|
||||
|
||||
store_record(this, record[1]);
|
||||
vers_update_end();
|
||||
int res;
|
||||
if ((res= file->extra(HA_EXTRA_REMEMBER_POS)))
|
||||
return res;
|
||||
if ((res= file->ha_update_row(record[1], record[0])))
|
||||
return res;
|
||||
return file->extra(HA_EXTRA_RESTORE_POS);
|
||||
return file->ha_update_row(record[1], record[0]);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user