mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-25506 fixup: Wait for TRUNCATE recovery
This commit is contained in:
@@ -17,7 +17,13 @@ SET DEBUG_SYNC='now WAIT_FOR c';
|
||||
--source include/restart_mysqld.inc
|
||||
disconnect wait;
|
||||
|
||||
SET @save_frequency=@@GLOBAL.innodb_purge_rseg_truncate_frequency;
|
||||
SET GLOBAL innodb_purge_rseg_truncate_frequency=1;
|
||||
--source include/wait_all_purged.inc
|
||||
SET GLOBAL innodb_purge_rseg_truncate_frequency=@save_frequency;
|
||||
|
||||
--replace_result 2 0
|
||||
SELECT COUNT(*) FROM t1;
|
||||
TRUNCATE TABLE t1;
|
||||
DROP TABLE t1;
|
||||
|
||||
|
Reference in New Issue
Block a user