~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

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;
 
1
include/master-slave.inc
 
2
[connection master]
7
3
stop slave;
8
4
#
9
5
# Generate a big enough master's binlog to cause relay log rotations
21
17
@@global.max_relay_log_size
22
18
4096
23
19
start slave;
24
 
Checking that both slave threads are running.
 
20
include/check_slave_is_running.inc
25
21
#
26
22
# Test 2
27
23
#
31
27
select @@global.max_relay_log_size;
32
28
@@global.max_relay_log_size     20480
33
29
start slave;
34
 
Checking that both slave threads are running.
 
30
include/check_slave_is_running.inc
35
31
#
36
32
# Test 3: max_relay_log_size = 0
37
33
#
41
37
select @@global.max_relay_log_size;
42
38
@@global.max_relay_log_size     0
43
39
start slave;
44
 
Checking that both slave threads are running.
 
40
include/check_slave_is_running.inc
45
41
#
46
42
# Test 4: Tests below are mainly to ensure that we have not coded with wrong assumptions
47
43
#
55
51
start slave;
56
52
flush logs;
57
53
create table t1 (a int);
58
 
Checking that both slave threads are running.
 
54
include/check_slave_is_running.inc
59
55
#
60
56
# Test 6: one more rotation, to be sure Relay_Log_Space is correctly updated
61
57
#
62
58
flush logs;
63
59
drop table t1;
64
 
Checking that both slave threads are running.
 
60
include/check_slave_is_running.inc
65
61
flush logs;
66
62
show master status;
67
63
File    Position        Binlog_Do_DB    Binlog_Ignore_DB
70
66
#
71
67
# End of 4.1 tests
72
68
 
69
include/rpl_end.inc