diff options
Diffstat (limited to 'mysql-test/suite/vcol/t/innodb_autoinc_vcol.test')
-rw-r--r-- | mysql-test/suite/vcol/t/innodb_autoinc_vcol.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/suite/vcol/t/innodb_autoinc_vcol.test b/mysql-test/suite/vcol/t/innodb_autoinc_vcol.test new file mode 100644 index 00000000..d499a06c --- /dev/null +++ b/mysql-test/suite/vcol/t/innodb_autoinc_vcol.test @@ -0,0 +1,9 @@ +--source include/have_innodb.inc + +create table t1 (c2 int as (1+1), c1 int primary key auto_increment) engine=innodb; +insert into t1(c1) values (null),(null),(null); +select * from t1; +alter table t1 auto_increment = 3; +show create table t1; +drop table t1; + |