~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/handler_delete.result

  • Committer: Brian Aker
  • Date: 2010-09-11 01:35:47 UTC
  • mto: (1759.2.1 build)
  • mto: This revision was merged to the branch mainline in revision 1762.
  • Revision ID: brian@tangent.org-20100911013547-b04k7f1qddr3ml4t
Shuffle native functions over to hash such that we have a specific container
for them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
FLUSH STATUS;
 
2
SHOW STATUS LIKE 'Handler_delete';
 
3
Variable_name   Value
 
4
Handler_delete  0
 
5
CREATE TABLE t1 (a int primary key);
 
6
INSERT INTO t1 VALUES (1);
 
7
DELETE FROM t1;
 
8
SHOW STATUS LIKE 'Handler_delete';
 
9
Variable_name   Value
 
10
Handler_delete  1
 
11
INSERT INTO t1 VALUES (1),(2),(3),(4),(5),(6),(7);
 
12
SHOW STATUS LIKE 'Handler_delete';
 
13
Variable_name   Value
 
14
Handler_delete  1
 
15
DELETE FROM t1 WHERE a=4;
 
16
SHOW STATUS LIKE 'Handler_delete';
 
17
Variable_name   Value
 
18
Handler_delete  2
 
19
DELETE FROM t1 WHERE a > 2;
 
20
INSERT INTO t1 VALUES (3),(4),(5);
 
21
SHOW STATUS LIKE 'Handler_delete';
 
22
Variable_name   Value
 
23
Handler_delete  6
 
24
DROP TABLE t1;
 
25
FLUSH STATUS;