summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/innodb/r/instant_auto_inc.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/innodb/r/instant_auto_inc.result')
-rw-r--r--mysql-test/suite/innodb/r/instant_auto_inc.result21
1 files changed, 21 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/r/instant_auto_inc.result b/mysql-test/suite/innodb/r/instant_auto_inc.result
new file mode 100644
index 00000000..a893b917
--- /dev/null
+++ b/mysql-test/suite/innodb/r/instant_auto_inc.result
@@ -0,0 +1,21 @@
+create table t(id int primary key, a int) engine=InnoDB;
+insert into t (id, a) values (1, 1);
+alter table t modify column id int auto_increment;
+check table t;
+Table Op Msg_type Msg_text
+test.t check status OK
+insert into t (a) values (2);
+alter table t modify column id int, algorithm=instant;
+check table t;
+Table Op Msg_type Msg_text
+test.t check status OK
+insert into t (id, a) values (3, 3);
+select * from t;
+id a
+1 1
+2 2
+3 3
+check table t;
+Table Op Msg_type Msg_text
+test.t check status OK
+drop table t;