~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/heap_auto_increment.test

  • Committer: Brian Aker
  • Date: 2009-07-31 23:20:14 UTC
  • mto: This revision was merged to the branch mainline in revision 1108.
  • Revision ID: brian@gaz-20090731232014-amd6192q1n8wade0
Heap is now tmp only table

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
drop table if exists t1;
7
7
--enable_warnings
8
8
 
9
 
create table t1 (a int not null auto_increment,b int, primary key (a)) engine=heap auto_increment=3;
 
9
create temporary table t1 (a int not null auto_increment,b int, primary key (a)) engine=heap auto_increment=3;
10
10
insert into t1 values (1,1),(NULL,3),(NULL,4);
11
11
delete from t1 where a=4;
12
12
insert into t1 values (NULL,5),(NULL,6);
22
22
select * from t1;
23
23
drop table t1;
24
24
 
25
 
create table t1 (
 
25
create temporary table t1 (
26
26
  skey int NOT NULL auto_increment PRIMARY KEY,
27
27
  sval char(20)
28
28
) engine=heap;