~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FLUSH STATUS;
SHOW STATUS LIKE 'Handler_update';
CREATE TABLE t1 (a int primary key);
INSERT INTO t1 VALUES (1);
SHOW STATUS LIKE 'Handler_update';
UPDATE t1 SET a=2 WHERE a=1;
SHOW STATUS LIKE 'Handler_update';
DROP TABLE t1;
FLUSH STATUS;

CREATE TABLE t1 (a int primary key, b varchar(100));
INSERT INTO t1 VALUES (1,"hello"), (2, "goodbye");
UPDATE t1 SET b="world" WHERE a=1;
SHOW STATUS LIKE 'Handler_update';
UPDATE t1 SET a=a+10;
SHOW STATUS LIKE 'Handler_update';
DROP TABLE t1;