~drizzle-trunk/drizzle/development

1 by brian
clean slate
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;
7
set global max_connections=151;
8
stop slave;
9
start slave;
10
show variables like 'init_slave';
11
Variable_name	Value
12
init_slave	set global max_connections=500
13
show variables like 'max_connections';
14
Variable_name	Value
15
max_connections	500
16
reset master;
17
show variables like 'init_slave';
18
Variable_name	Value
19
init_slave	
20
show variables like 'max_connections';
21
Variable_name	Value
22
max_connections	151
23
set @my_global_init_connect= @@global.init_connect;
24
set global init_connect="set @c=1";
25
show variables like 'init_connect';
26
Variable_name	Value
27
init_connect	set @c=1
28
stop slave;
29
set global init_connect= @my_global_init_connect;
30
set global max_connections= default;