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
use system time, not @@timestamp
This commit is contained in:
committed by
Aleksey Midenkov
parent
c92bf28b5f
commit
be81b00c84
@ -343,3 +343,15 @@ drop procedure test_02;
|
||||
drop procedure test_03;
|
||||
drop procedure test_04;
|
||||
drop procedure test_05;
|
||||
set timestamp=1000000019;
|
||||
select now() < sysdate();
|
||||
now() < sysdate()
|
||||
1
|
||||
create table t1 (a int) with system versioning;
|
||||
insert t1 values (1);
|
||||
select * from t1 for system_time as of now(6);
|
||||
a
|
||||
select * from t1 for system_time as of sysdate(6);
|
||||
a
|
||||
1
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user