~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
source include/master-slave.inc;
2
3
--echo #
4
--echo # New --dump-slave, --apply-slave-statements functionality
5
--echo #
6
7
# There is a gap between when START SLAVE returns and when MASTER_LOG_FILE and
8
# MASTER_LOG_POS are set.  Ensure that we don't call SHOW SLAVE STATUS during
9
# that gap.
10
--sync_slave_with_master
11
12
connection master;
13
use test;
14
15
connection slave;
16
17
# Execute mysqldump with --dump-slave
18
--exec $MYSQL_DUMP_SLAVE --compact --dump-slave test
19
20
# Execute mysqldump with --dump-slave and --apply-slave-statements 
21
--exec $MYSQL_DUMP_SLAVE --compact --dump-slave --apply-slave-statements test
22
23
--replace_result $MASTER_MYPORT MASTER_MYPORT
24
# Execute mysqldump with --dump-slave ,--apply-slave-statements and --include-master-host-port
25
--exec $MYSQL_DUMP_SLAVE --compact --dump-slave --apply-slave-statements --include-master-host-port test