~ubuntu-branches/ubuntu/trusty/mysql-5.6/trusty

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_sync.result

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-12 11:54:27 UTC
  • Revision ID: package-import@ubuntu.com-20140212115427-oq6tfsqxl1wuwehi
Tags: upstream-5.6.15
ImportĀ upstreamĀ versionĀ 5.6.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
=====Configuring the enviroment=======;
 
2
include/master-slave.inc
 
3
Warnings:
 
4
Note    ####    Sending passwords in plain text without SSL/TLS is extremely insecure.
 
5
Note    ####    Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
 
6
[connection master]
 
7
call mtr.add_suppression('Attempting backtrace');
 
8
call mtr.add_suppression("Recovery from master pos .* and file master-bin.000001");
 
9
call mtr.add_suppression("Binlog has bad magic number;  It's not a binary log file that can be used by this version of MySQL");
 
10
CREATE TABLE t1(a INT, PRIMARY KEY(a)) engine=innodb;
 
11
insert into t1(a) values(1);
 
12
insert into t1(a) values(2);
 
13
insert into t1(a) values(3);
 
14
=====Inserting data on the master but without the SQL Thread being running=======;
 
15
include/stop_slave_sql.inc
 
16
insert into t1(a) values(4);
 
17
insert into t1(a) values(5);
 
18
insert into t1(a) values(6);
 
19
=====Removing relay log files and crashing/recoverying the slave=======;
 
20
include/stop_slave_io.inc
 
21
SET SESSION debug="d,crash_before_rotate_relaylog";
 
22
FLUSH LOGS;
 
23
ERROR HY000: Lost connection to MySQL server during query
 
24
include/rpl_reconnect.inc
 
25
=====Dumping and comparing tables=======;
 
26
include/start_slave.inc
 
27
include/diff_tables.inc [master:t1,slave:t1]
 
28
=====Corrupting the master.info=======;
 
29
include/stop_slave.inc
 
30
FLUSH LOGS;
 
31
insert into t1(a) values(7);
 
32
insert into t1(a) values(8);
 
33
insert into t1(a) values(9);
 
34
SET SESSION debug="d,crash_before_rotate_relaylog";
 
35
FLUSH LOGS;
 
36
ERROR HY000: Lost connection to MySQL server during query
 
37
include/rpl_reconnect.inc
 
38
=====Dumping and comparing tables=======;
 
39
include/start_slave.inc
 
40
include/diff_tables.inc [master:t1,slave:t1]
 
41
=====Clean up=======;
 
42
drop table t1;
 
43
include/rpl_end.inc