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

« back to all changes in this revision

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

  • 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:
9
9
connection master;
10
10
grant replication slave on *.* to replssl@localhost require ssl;
11
11
create table t1 (t int);
12
 
save_master_pos;
13
12
 
14
 
#syncing with master
15
 
connection slave;
16
 
sync_with_master;
 
13
sync_slave_with_master;
17
14
 
18
15
#trying to use this user without ssl
19
16
stop slave;
37
34
 
38
35
#avoiding unneeded sleeps
39
36
connection master;
40
 
save_master_pos;
41
 
connection slave;
42
 
sync_with_master;
 
37
sync_slave_with_master;
43
38
 
44
39
#checking that replication is ok
45
40
select * from t1;
56
51
connection master;
57
52
drop user replssl@localhost;
58
53
drop table t1;
59
 
save_master_pos;
60
 
connection slave;
61
 
sync_with_master;
 
54
 
 
55
sync_slave_with_master;
62
56
source include/show_slave_status.inc;
63
57
source include/check_slave_is_running.inc;
64
58
# End of 4.1 tests
90
84
source include/show_slave_status.inc;
91
85
--source include/check_slave_is_running.inc
92
86
 
 
87
# ==== Clean up ====
 
88
 
93
89
connection master;
94
90
drop table t1;
95
91
sync_slave_with_master;
 
92
--source include/stop_slave.inc
 
93
CHANGE MASTER TO
 
94
 master_host="127.0.0.1",
 
95
 master_ssl_ca ='',
 
96
 master_ssl_cert='',
 
97
 master_ssl_key='',
 
98
 master_ssl_verify_server_cert=0,
 
99
 master_ssl=0;
 
100
 
 
101
--let $rpl_only_running_threads= 1
 
102
--source include/rpl_end.inc