1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +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

@ -353,6 +353,12 @@ a
select * from t1 for system_time as of sysdate(6);
a
1
update t1 set a=2;
delete from t1;
select *, row_start > @a, row_end > @a from t1 for system_time all;
a row_start > @a row_end > @a
1 0 1
2 1 1
#
# MDEV-14871 Server crashes in fill_record / fill_record_n_invoke_before_triggers upon inserting into versioned table with trigger
#