summaryrefslogtreecommitdiff
path: root/mysql-test/suite/rpl/r/rpl_init_slave.result
blob: a90de76f1393aa11ed278e5cf2d80c40812ab182 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
include/master-slave.inc
[connection master]
set global max_connections=151;
connection slave;
include/stop_slave.inc
include/start_slave.inc
connection master;
connection slave;
show variables like 'init_slave';
Variable_name	Value
init_slave	set global max_connections=500
show variables like 'max_connections';
Variable_name	Value
max_connections	500
reset master;
connection master;
show variables like 'init_slave';
Variable_name	Value
init_slave	
show variables like 'max_connections';
Variable_name	Value
max_connections	151
connection slave;
set @my_global_init_connect= @@global.init_connect;
set global init_connect="set @c=1";
show variables like 'init_connect';
Variable_name	Value
init_connect	set @c=1
connection master;
connection slave;
set global init_connect= @my_global_init_connect;
set global max_connections= default;
include/rpl_end.inc