mariadb/mysql-test/suite/rpl/include/rpl_mixed_check_select.inc
2007-02-06 13:35:54 +01:00

21 lines
524 B
PHP

#########################################
# Author: Serge Kozlov skozlov@mysql.com
# Date: 07/10/2006
# Purpose: Showing data from work tables on master and on slave
# Requirements:
#########################################
--echo ==========MASTER==========
SELECT COUNT(*) FROM t1;
SELECT * FROM t1;
SELECT COUNT(*) FROM t2;
SELECT * FROM t2;
sync_slave_with_master;
--echo ==========SLAVE===========
USE test_rpl;
SELECT COUNT(*) FROM t1;
SELECT * FROM t1;
SELECT COUNT(*) FROM t2;
SELECT * FROM t2;
connection master;