~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbms/tests/t/bug616466_auto_increment_crash.test

  • Committer: Lee Bieber
  • Date: 2010-11-07 22:53:13 UTC
  • mfrom: (1909.4.6 pbms-tests)
  • mto: This revision was merged to the branch mainline in revision 1912.
  • Revision ID: kalebral@gmail.com-20101107225313-26nhv0btydq2sh74
Merge Stewart - Fix bug 616466: auto_increment and PBMS problem - adds test case for this, can no longer reproduce the problem

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
create table autoincbug (id int not null primary key auto_increment, test varchar(10));
 
2
alter table autoincbug auto_increment = 1000;
 
3
insert into autoincbug values (null, 'hej');
 
4
alter table autoincbug auto_increment = 32727;
 
5
drop table autoincbug;