~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
stop slave;
 
2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 
3
reset master;
 
4
reset slave;
 
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 
6
start slave;
 
7
call mtr.add_suppression("Slave I/O: Master command COM_REGISTER_SLAVE failed: .*");
 
8
call mtr.add_suppression("Fatal error: The slave I/O thread stops because master and slave have equal MySQL server ids; .*");
 
9
call mtr.add_suppression("Slave I/O thread .* register on master");
 
10
SELECT IS_FREE_LOCK("debug_lock.before_get_UNIX_TIMESTAMP");
 
11
IS_FREE_LOCK("debug_lock.before_get_UNIX_TIMESTAMP")
 
12
1
 
13
SELECT GET_LOCK("debug_lock.before_get_UNIX_TIMESTAMP", 1000);
 
14
GET_LOCK("debug_lock.before_get_UNIX_TIMESTAMP", 1000)
 
15
1
 
16
set global debug= 'd,debug_lock.before_get_UNIX_TIMESTAMP';
 
17
stop slave;
 
18
start slave;
 
19
SELECT RELEASE_LOCK("debug_lock.before_get_UNIX_TIMESTAMP");
 
20
RELEASE_LOCK("debug_lock.before_get_UNIX_TIMESTAMP")
 
21
1
 
22
Check network error happened here
 
23
NETWORK ERROR
 
24
SELECT IS_FREE_LOCK("debug_lock.before_get_SERVER_ID");
 
25
IS_FREE_LOCK("debug_lock.before_get_SERVER_ID")
 
26
1
 
27
SELECT GET_LOCK("debug_lock.before_get_SERVER_ID", 1000);
 
28
GET_LOCK("debug_lock.before_get_SERVER_ID", 1000)
 
29
1
 
30
set global debug= 'd,debug_lock.before_get_SERVER_ID';
 
31
stop slave;
 
32
start slave;
 
33
SELECT RELEASE_LOCK("debug_lock.before_get_SERVER_ID");
 
34
RELEASE_LOCK("debug_lock.before_get_SERVER_ID")
 
35
1
 
36
Check network error happened here
 
37
NETWORK ERROR
 
38
set global debug= '';
 
39
reset master;
 
40
include/stop_slave.inc
 
41
change master to master_port=SLAVE_PORT;
 
42
start slave;
 
43
*** must be having the replicate-same-server-id IO thread error ***
 
44
Slave_IO_Errno= 1593
 
45
Slave_IO_Error= Fatal error: The slave I/O thread stops because master and slave have equal MySQL server ids; these ids must be different for replication to work (or the --replicate-same-server-id option must be used on slave but this does not always make sense; please check the manual before using it).