mariadb/mysql-test/suite/tokudb.truncate/t/simple_truncate.test
Rich Prohaska 642a4fb63a #4621 move tokudb.truncate mysql tests to common mysql test dir refs[t:4621]
git-svn-id: file:///svn/mysql/tests/mysql-test@40915 c7de825b-a66e-492c-adef-691d508d4ae1
2012-03-16 15:49:03 +00:00

10 lines
281 B
Text

# verify that truncate table leaves the table empty
--disable_warnings
drop table if exists t;
--enable_warnings
create table t (a int, b int, primary key (a)) engine=tokudb;
insert into t values (1,2),(2,4),(3,8);
select * from t;
truncate table t;
select * from t;
drop table t;