~linuxjedi/drizzle/trunk-bug-667053

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/t/rpl_mysqldump_slave.test

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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