~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/handler_update.result

  • Committer: Brian Aker
  • Date: 2009-02-10 00:14:40 UTC
  • Revision ID: brian@tangent.org-20090210001440-qjg8eofh3h93064b
Adding Multi-threaded Scheduler into the system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
FLUSH STATUS;
2
 
SHOW STATUS LIKE 'Handler_update';
3
 
Variable_name   Value
4
 
Handler_update  0
5
 
CREATE TABLE t1 (a int primary key);
6
 
INSERT INTO t1 VALUES (1);
7
 
SHOW STATUS LIKE 'Handler_update';
8
 
Variable_name   Value
9
 
Handler_update  0
10
 
UPDATE t1 SET a=2 WHERE a=1;
11
 
SHOW STATUS LIKE 'Handler_update';
12
 
Variable_name   Value
13
 
Handler_update  1
14
 
DROP TABLE t1;
15
 
FLUSH STATUS;
16
 
CREATE TABLE t1 (a int primary key, b varchar(100));
17
 
INSERT INTO t1 VALUES (1,"hello"), (2, "goodbye");
18
 
UPDATE t1 SET b="world" WHERE a=1;
19
 
SHOW STATUS LIKE 'Handler_update';
20
 
Variable_name   Value
21
 
Handler_update  1
22
 
UPDATE t1 SET a=a+10;
23
 
SHOW STATUS LIKE 'Handler_update';
24
 
Variable_name   Value
25
 
Handler_update  3
26
 
DROP TABLE t1;