summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/tokudb_bugs/t/4675.test
blob: 551a2eb93b16203039c9db6a83d72064ce508886 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--source include/have_tokudb.inc
#
# Record inconsistency.
#
#
SET DEFAULT_STORAGE_ENGINE = 'tokudb';

--disable_warnings
DROP TABLE IF EXISTS foo;
--enable_warnings
create table foo (a int auto_increment, primary key (a))engine=TokuDB, auto_increment=5;
insert into foo values (),(),(),();
select * from foo;
truncate table foo;
select * from foo;
insert into foo values (),(),(),();
select * from foo;
 
# Final cleanup.
DROP TABLE foo;