mariadb/mysql-test/suite/tokudb.bugs/t/4675.test
Zardosht Kasheff bf98417fcc refs #4675, add test
git-svn-id: file:///svn/mysql/tests/mysql-test@49930 c7de825b-a66e-492c-adef-691d508d4ae1
2012-11-13 21:54:42 +00:00

21 lines
440 B
Text

--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;