~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/heap_auto_increment.result

  • Committer: Monty Taylor
  • Date: 2009-08-29 19:30:29 UTC
  • mto: (1126.5.1 captain-20090914-03)
  • mto: This revision was merged to the branch mainline in revision 1129.
  • Revision ID: mordred@inaugust.com-20090829193029-i12fw4pg91dm8nu9
Fixed a buffer overrun that was causing some translated message output to suck.

Honestly guys, declaring a char[80] and then doing an sprintf into it with
no length checking? sigh

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
drop table if exists t1;
2
 
create temporary table t1 (a int not null auto_increment,b int, primary key (a)) engine=MEMORY auto_increment=3;
 
2
create temporary table t1 (a int not null auto_increment,b int, primary key (a)) engine=heap auto_increment=3;
3
3
insert into t1 values (1,1),(NULL,3),(NULL,4);
4
4
delete from t1 where a=4;
5
5
insert into t1 values (NULL,5),(NULL,6);
27
27
create temporary table t1 (
28
28
skey int NOT NULL auto_increment PRIMARY KEY,
29
29
sval char(20)
30
 
) engine=MEMORY;
 
30
) engine=heap;
31
31
insert into t1 values (NULL, "hello");
32
32
insert into t1 values (NULL, "hey");
33
33
select * from t1;