1create table t1 (i int, f float)
2engine = innodb data directory = 'NEW_DATA_DIR';
3insert into t1 values (1, 1.1), (2, 2.2), (3, 3.3);
4t1.ibd
5select * from t1;
6i	f
71	1.1
82	2.2
93	3.3
10set session debug = "+d,ib_trunc_crash_drop_reinit_done_create_to_start";
11truncate table t1;
12ERROR HY000: Lost connection to MySQL server during query
13select * from t1;
14i	f
15t1.ibd
16insert into t1 values (1, 1.1), (2, 2.2), (3, 3.3);
17select * from t1;
18i	f
191	1.1
202	2.2
213	3.3
22drop table t1;
23