1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00
Files
mariadb/mysql-test/suite/vcol/r/rpl_vcol.result
2011-02-28 19:39:30 +02:00

23 lines
454 B
Plaintext

SET @@session.storage_engine = 'InnoDB';
include/master-slave.inc
[connection master]
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;
include/rpl_end.inc