~ubuntu-branches/debian/squeeze/mysql-5.1/squeeze

« back to all changes in this revision

Viewing changes to mysql-test/include/master-slave-reset.inc

  • Committer: Package Import Robot
  • Author(s): Moritz Muehlenhoff
  • Date: 2014-01-14 10:40:30 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20140114104030-44alii0hx3x3g41y
Tags: 5.1.73-1
* New upstream release
  http://dev.mysql.com/doc/relnotes/mysql/5.1/en/news-5-1-73.html
* Update patches
* Disable flaky test rpl.rpl_innodb_bug28430 breaking the build. It's  marked
  as experimental by upstream and the internet is full of reports about it's
  unrelialibity

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Reset the master and the slave to start fresh.
2
 
#
3
 
# It is necessary to execute RESET MASTER and RESET SLAVE on both
4
 
# master and slave since the replication setup might be circular.
5
 
#
6
 
# Since we expect STOP SLAVE to produce a warning as the slave is
7
 
# stopped (the server was started with skip-slave-start), we disable
8
 
# warnings when doing STOP SLAVE.
9
 
 
10
 
connection slave;
11
 
--disable_warnings
12
 
stop slave;
13
 
source include/wait_for_slave_to_stop.inc;
14
 
--enable_warnings
15
 
connection master;
16
 
--disable_warnings
17
 
--disable_query_log
18
 
use test;
19
 
--enable_query_log
20
 
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
21
 
--enable_warnings
22
 
reset master;
23
 
--disable_query_log
24
 
reset slave;
25
 
--enable_query_log
26
 
connection slave;
27
 
reset slave;
28
 
# Clean up old test tables
29
 
--disable_warnings
30
 
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
31
 
--enable_warnings
32
 
--disable_query_log
33
 
reset master;
34
 
--enable_query_log
35
 
start slave;
36
 
source include/wait_for_slave_to_start.inc;