23 lines
468 B
Plaintext
23 lines
468 B
Plaintext
create table t1 (i int, f float)
|
|
engine = innodb data directory = 'NEW_DATA_DIR';
|
|
insert into t1 values (1, 1.1), (2, 2.2), (3, 3.3);
|
|
t1.ibd
|
|
select * from t1;
|
|
i f
|
|
1 1.1
|
|
2 2.2
|
|
3 3.3
|
|
set session debug = "+d,ib_trunc_crash_drop_reinit_done_create_to_start";
|
|
truncate table t1;
|
|
ERROR HY000: Lost connection to MySQL server during query
|
|
select * from t1;
|
|
i f
|
|
t1.ibd
|
|
insert into t1 values (1, 1.1), (2, 2.2), (3, 3.3);
|
|
select * from t1;
|
|
i f
|
|
1 1.1
|
|
2 2.2
|
|
3 3.3
|
|
drop table t1;
|