~drizzle-trunk/drizzle/development

1900.3.2 by Andrew Hutchings
Add test cases
1
# test that flush global status; clears global status;
2
flush global status;
3
4
use test;
1900.3.3 by Andrew Hutchings
Fix warning in test case
5
--disable_warnings
1900.3.2 by Andrew Hutchings
Add test cases
6
drop table if exists t1;
1900.3.3 by Andrew Hutchings
Fix warning in test case
7
--enable_warnings
1900.3.2 by Andrew Hutchings
Add test cases
8
create table t1 (a int);
9
insert into t1 values (1),(2),(3);
10
select * from t1;
11
select * from t1;
12
select * from t1;
13
14
show global status like 'Handler%';
15
connect (con1,localhost,root,,);
16
connection con1;
17
use test;
18
select * from t1;
19
select * from t1;
20
select * from t1;
21
22
show global status like 'Handler%';
23
24
flush global status;
25
26
# should show reset counters;
27
show global status like 'Handler%';