File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
mysql-test/suite/versioning Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -444,6 +444,18 @@ update t1 set a=2;
444444select @end;
445445@end
44644618446744073709551615
447+ create or replace table t1 (a int) with system versioning;
448+ create or replace table t2 (b int) with system versioning;
449+ insert into t1 values (1);
450+ insert into t2 values (2);
451+ select * from (select * from t1 cross join t2) as tmp;
452+ a b
453+ 1 2
454+ select * from (select * from (select * from t1 cross join t2) as tmp1) as tmp2;
455+ a b
456+ 1 2
457+ select * from (select * from t1 cross join t2 for system_time as of timestamp '0-0-0') as tmp;
458+ a b
447459drop table t1, t2;
448460call verify_vtq;
449461No A B C D
Original file line number Diff line number Diff line change @@ -167,6 +167,14 @@ create trigger read_end after update on t1
167167update t1 set a=2;
168168select @end;
169169
170+ create or replace table t1 (a int) with system versioning;
171+ create or replace table t2 (b int) with system versioning;
172+ insert into t1 values (1);
173+ insert into t2 values (2);
174+ select * from (select * from t1 cross join t2) as tmp;
175+ select * from (select * from (select * from t1 cross join t2) as tmp1) as tmp2;
176+ select * from (select * from t1 cross join t2 for system_time as of timestamp '0-0-0') as tmp;
177+
170178drop table t1, t2;
171179
172180call verify_vtq;
You can’t perform that action at this time.
0 commit comments