Current Path : /home/usr.opt/mysql57/mysql-test/suite/rpl/t/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/rpl/t/rpl_row_unsafe_funcs.test |
source include/master-slave.inc; source include/have_binlog_format_mixed.inc; # # Bug #30244: row_count/found_rows does not replicate well # connection master; CREATE TABLE t1 (a INT); CREATE TABLE t2 (a INT, b INT); INSERT INTO t1 SELECT 1; connection master1; INSERT INTO t1 VALUES (2),(3),(4),(5),(6); connection master; INSERT INTO t2 SELECT 1, ROW_COUNT(); INSERT INTO t1 VALUES (2),(3),(4); INSERT INTO t2 SELECT 2, ROW_COUNT(); #must return 1 and 3 SELECT b FROM t2 ORDER BY a; --source include/sync_slave_sql_with_master.inc #must return 1 and 3 SELECT b FROM t2 ORDER BY a; connection master; DROP TABLE t1, t2; --source include/sync_slave_sql_with_master.inc connection master; --source include/rpl_end.inc