1drop table if exists t;
2create table t (a int, b int, primary key (a)) engine=tokudb;
3insert into t values (1,2),(2,4),(3,8);
4select * from t;
5a	b
61	2
72	4
83	8
9select TABLE_ROWS from information_schema.tables where table_schema='test' and table_name='t';
10TABLE_ROWS
113
12truncate table t;
13select * from t;
14a	b
15select TABLE_ROWS from information_schema.tables where table_schema='test' and table_name='t';
16TABLE_ROWS
170
18drop table t;
19