summaryrefslogtreecommitdiff
path: root/mysql-test/main/alter_table_autoinc-5574.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/alter_table_autoinc-5574.result')
-rw-r--r--mysql-test/main/alter_table_autoinc-5574.result11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/main/alter_table_autoinc-5574.result b/mysql-test/main/alter_table_autoinc-5574.result
new file mode 100644
index 00000000000..9476313c773
--- /dev/null
+++ b/mysql-test/main/alter_table_autoinc-5574.result
@@ -0,0 +1,11 @@
+create table t1(a int(10)unsigned not null auto_increment primary key,
+b varchar(255) not null) engine=innodb default charset=utf8;
+insert into t1 values(1,'aaa'),(2,'bbb');
+alter table t1 auto_increment=1;
+insert into t1 values(NULL, 'ccc');
+select * from t1;
+a b
+1 aaa
+2 bbb
+3 ccc
+drop table t1;