summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/gcol/r/rpl_gcol.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/gcol/r/rpl_gcol.result')
-rw-r--r--mysql-test/suite/gcol/r/rpl_gcol.result33
1 files changed, 33 insertions, 0 deletions
diff --git a/mysql-test/suite/gcol/r/rpl_gcol.result b/mysql-test/suite/gcol/r/rpl_gcol.result
new file mode 100644
index 00000000..bcf072ab
--- /dev/null
+++ b/mysql-test/suite/gcol/r/rpl_gcol.result
@@ -0,0 +1,33 @@
+SET @@session.default_storage_engine = 'InnoDB';
+include/master-slave.inc
+[connection master]
+connection master;
+create table t1 (a int, b int generated always as (a+1) virtual);
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `a` int(11) DEFAULT NULL,
+ `b` int(11) GENERATED ALWAYS AS (`a` + 1) VIRTUAL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+insert into t1 values (1,default);
+insert into t1 values (2,default);
+select * from t1;
+a b
+1 2
+2 3
+connection slave;
+select * from t1;
+a b
+1 2
+2 3
+connection master;
+drop table t1;
+connection slave;
+DROP VIEW IF EXISTS v1,v2;
+DROP TABLE IF EXISTS t1,t2,t3;
+DROP PROCEDURE IF EXISTS p1;
+DROP FUNCTION IF EXISTS f1;
+DROP TRIGGER IF EXISTS trg1;
+DROP TRIGGER IF EXISTS trg2;
+set sql_warnings = 0;
+include/rpl_end.inc