mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
f7a75b999b
The original patch has been ameliorated by Sanja and Igor.
25 lines
539 B
Text
25 lines
539 B
Text
SET @@session.storage_engine = 'InnoDB';
|
|
stop slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
reset master;
|
|
reset slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
start slave;
|
|
create table t1 (a int, b int as (a+1));
|
|
show create table t1;
|
|
Table Create Table
|
|
t1 CREATE TABLE `t1` (
|
|
`a` int(11) DEFAULT NULL,
|
|
`b` int(11) AS (a+1) VIRTUAL
|
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
|
insert into t1 values (1,default);
|
|
insert into t1 values (2,default);
|
|
select * from t1;
|
|
a b
|
|
1 2
|
|
2 3
|
|
select * from t1;
|
|
a b
|
|
1 2
|
|
2 3
|
|
drop table t1;
|