Current Path : /home/usr.opt/mysql57/mysql-test/suite/rpl/include/ |
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/include/rpl_mixed_check_select.inc |
######################################### # 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 ORDER BY a; SELECT COUNT(*) FROM t2; SELECT * FROM t2 ORDER BY a; sync_slave_with_master; --echo ==========SLAVE=========== USE test_rpl; SELECT COUNT(*) FROM t1; SELECT * FROM t1 ORDER BY a; SELECT COUNT(*) FROM t2; SELECT * FROM t2 ORDER BY a; connection master;