1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-14788 System versioning cannot be based on local timestamps, as it is now

followup to be81b00c84
Fix updates and deletes too
This commit is contained in:
Sergei Golubchik
2018-01-11 19:41:32 +01:00
parent 6a8cf407d2
commit 826f615fc9
8 changed files with 27 additions and 15 deletions

View File

@ -253,7 +253,7 @@ int TABLE::delete_row()
return file->ha_delete_row(record[0]);
store_record(this, record[1]);
vers_end_field()->set_time();
vers_update_end();
return file->ha_update_row(record[1], record[0]);
}