~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/heap_auto_increment.test

  • Committer: Monty Taylor
  • Date: 2009-05-19 21:30:11 UTC
  • mto: (1022.4.2 update-to-gcc-44)
  • mto: This revision was merged to the branch mainline in revision 1031.
  • Revision ID: mordred@inaugust.com-20090519213011-4tpejk7l2f1q7wrh
Added support for using gnutls instead of openssl for the md5 plugin. On Debian,
linking openssl against GPL software is sort of frowned on because it's one
of those murky areas. In this case, we can support gnutls by just changing a
header, so it saves us an argument with someone down the road.

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 temporary table t1 (a int not null auto_increment,b int, primary key (a)) engine=MEMORY auto_increment=3;
 
9
create 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);
13
13
select * from t1;
14
14
delete from t1 where a=6;
 
15
#show table status like "t1";
15
16
replace t1 values (3,1);
16
17
ALTER TABLE t1 add c int;
17
18
replace t1 values (3,3,3);
21
22
select * from t1;
22
23
drop table t1;
23
24
 
24
 
create temporary table t1 (
 
25
create table t1 (
25
26
  skey int NOT NULL auto_increment PRIMARY KEY,
26
27
  sval char(20)
27
 
) engine=MEMORY;
 
28
) engine=heap;
28
29
insert into t1 values (NULL, "hello");
29
30
insert into t1 values (NULL, "hey");
30
31
select * from t1;