1
source include/master-slave.inc;
4
# Test of init_slave variable
7
set global max_connections=151;
11
source include/wait_for_slave_to_stop.inc;
13
source include/wait_for_slave_to_start.inc;
18
show variables like 'init_slave';
19
show variables like 'max_connections';
23
show variables like 'init_slave';
24
show variables like 'max_connections';
29
set @my_global_init_connect= @@global.init_connect;
30
set global init_connect="set @c=1";
31
show variables like 'init_connect';
38
# Restore changed global variable
39
set global init_connect= @my_global_init_connect;
40
set global max_connections= default;