summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/r/truncate_restart.result
blob: b6d14124371762e4fa0737a1aea3edbd77ed967f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
SET GLOBAL innodb_stats_persistent= ON;
CREATE TABLE t1 (t TEXT) ENGINE=InnoDB STATS_PERSISTENT=1;
connect  con1,localhost,root,,test;
SET DEBUG_SYNC='ib_trunc_table_trunc_completing SIGNAL committed WAIT_FOR ever';
TRUNCATE TABLE t1;
connection default;
SET DEBUG_SYNC='now WAIT_FOR committed';
disconnect con1;
SELECT COUNT(*) FROM t1;
COUNT(*)
0
DROP TABLE t1;