mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
IB: get template with virtual columns [#365 bug 1]
Affected tests (forced mode): binlog_encryption.encrypted_slave
This commit is contained in:
@ -360,6 +360,16 @@ insert into t2(x) values (1);
|
||||
insert into t1(x) values (1);
|
||||
ERROR HY000: Some versioned DML requires `transaction_registry` to be set to ON.
|
||||
set global transaction_registry= on;
|
||||
create or replace table t1 (
|
||||
x int,
|
||||
y int as (x) virtual
|
||||
) engine=innodb with system versioning;
|
||||
insert into t1 values (1, null);
|
||||
update t1 set x= x + 1;
|
||||
select *, sys_trx_end = 18446744073709551615 as current from t1 for system_time all;
|
||||
x y current
|
||||
2 2 1
|
||||
1 1 0
|
||||
drop table t1;
|
||||
drop table t2;
|
||||
drop procedure test_01;
|
||||
|
Reference in New Issue
Block a user