1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
FLUSH STATUS;
SHOW STATUS LIKE 'Handler_write';
CREATE TABLE t1 (a int);
SHOW STATUS LIKE 'Handler_write';
INSERT INTO t1 VALUES (1);
SHOW STATUS LIKE 'Handler_write';
INSERT INTO t1 VALUES (1);
SHOW STATUS LIKE 'Handler_write';
INSERT INTO t1 VALUES (1),(2),(3),(4),(5);
SHOW STATUS LIKE 'Handler_write';
CREATE TABLE t2 LIKE t1;
SHOW STATUS LIKE 'Handler_write';
INSERT INTO t2 SELECT * FROM t1;
SHOW STATUS LIKE 'Handler_write';
begin;
insert into t1 values (42);
rollback;
SHOW STATUS LIKE 'Handler_write';
DROP TABLE t1, t2;
SHOW STATUS LIKE 'Handler_write';
FLUSH STATUS;
|