summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/t/innodb-autoinc-optimize.test
blob: 2cd1449ec0feb50cb820816d4e513b04697e9e42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# embedded server ignores 'delayed', so skip this
-- source include/not_embedded.inc

--disable_warnings
drop table if exists t1;
--enable_warnings

#
# Bug 34286
#
create table t1(a int not null auto_increment primary key) engine=innodb;
insert into t1 set a = -1;
# NOTE: The database needs to be shutdown and restarted (here) for
# the test to work. It's included for reference only.
optimize table t1;

--echo ==== clean up ====
DROP TABLE t1;