~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/handler_update.test

  • Committer: Jay Pipes
  • Date: 2009-09-15 21:01:42 UTC
  • mto: (1126.2.5 merge)
  • mto: This revision was merged to the branch mainline in revision 1128.
  • Revision ID: jpipes@serialcoder-20090915210142-x8mwiqn1q0vzjspp
Moves Alter_info out into its own header and source file, cleans up some related include mess in sql_lex.h, and renames Alter_info to AlterInfo.

Show diffs side-by-side

added added

removed removed

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