~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_ssl.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
grant replication slave on *.* to replssl@localhost require ssl;
8
4
create table t1 (t int auto_increment, KEY(t));
9
5
stop slave;
19
15
select * from t1;
20
16
t
21
17
1
22
 
Master_SSL_Allowed      Yes
23
 
Master_SSL_CA_Path      
24
 
Master_SSL_CA_File      MYSQL_TEST_DIR/std_data/cacert.pem
25
 
Master_SSL_Cert MYSQL_TEST_DIR/std_data/client-cert.pem
26
 
Master_SSL_Key  MYSQL_TEST_DIR/std_data/client-key.pem
27
 
Checking that both slave threads are running.
 
18
Master_SSL_Allowed = 'Yes'
 
19
Master_SSL_CA_Path = ''
 
20
Master_SSL_CA_File = 'MYSQL_TEST_DIR/std_data/cacert.pem'
 
21
Master_SSL_Cert = 'MYSQL_TEST_DIR/std_data/client-cert.pem'
 
22
Master_SSL_Key = 'MYSQL_TEST_DIR/std_data/client-key.pem'
 
23
include/check_slave_is_running.inc
28
24
STOP SLAVE;
29
25
select * from t1;
30
26
t
31
27
1
32
28
insert into t1 values (NULL);
33
 
Master_SSL_Allowed      Yes
34
 
Master_SSL_CA_Path      
35
 
Master_SSL_CA_File      MYSQL_TEST_DIR/std_data/cacert.pem
36
 
Master_SSL_Cert MYSQL_TEST_DIR/std_data/client-cert.pem
37
 
Master_SSL_Key  MYSQL_TEST_DIR/std_data/client-key.pem
38
 
Checking that both slave threads are running.
 
29
include/wait_for_slave_to_start.inc
 
30
Master_SSL_Allowed = 'Yes'
 
31
Master_SSL_CA_Path = ''
 
32
Master_SSL_CA_File = 'MYSQL_TEST_DIR/std_data/cacert.pem'
 
33
Master_SSL_Cert = 'MYSQL_TEST_DIR/std_data/client-cert.pem'
 
34
Master_SSL_Key = 'MYSQL_TEST_DIR/std_data/client-key.pem'
 
35
include/check_slave_is_running.inc
39
36
drop user replssl@localhost;
40
37
drop table t1;
 
38
include/stop_slave.inc
 
39
CHANGE MASTER TO
 
40
master_user = 'root',
 
41
master_ssl = 0,
 
42
master_ssl_ca = '',
 
43
master_ssl_cert = '',
 
44
master_ssl_key = '';
41
45
End of 5.0 tests
 
46
include/rpl_end.inc