summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb_plugin/t/innodb-autoinc-optimize.test
blob: b359980768c5201052a5173e79270e1c811b4ad9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-- source include/have_innodb_plugin.inc
# 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;