From 932273a8a009ee59b6d749aa27c161ade85b0a46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Mon, 7 Aug 2017 23:56:30 +0300 Subject: [PATCH] MDEV-12288 follow-up: Adjust a test for the purge of insert_undo log The inserted SYS_INDEXES record for the ADD INDEX operation will also be counted as an un-purgeable transaction. --- mysql-test/suite/gcol/r/innodb_virtual_debug_purge.result | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql-test/suite/gcol/r/innodb_virtual_debug_purge.result b/mysql-test/suite/gcol/r/innodb_virtual_debug_purge.result index 7d1d1d30198..65a2f5c844f 100644 --- a/mysql-test/suite/gcol/r/innodb_virtual_debug_purge.result +++ b/mysql-test/suite/gcol/r/innodb_virtual_debug_purge.result @@ -115,7 +115,7 @@ INSERT INTO t1(a, b) VALUES (8, 8); # enable purge COMMIT; # wait for purge to process the deleted/updated records. -InnoDB 1 transactions not purged +InnoDB 2 transactions not purged SET DEBUG_SYNC= 'now SIGNAL purged'; disconnect con1; connection default; @@ -149,7 +149,7 @@ disconnect prevent_purge; connection default; select variable_value>1 from information_schema.global_status where variable_name='innodb_purge_trx_id_age'; variable_value>1 -1 +0 disconnect con1; start transaction with consistent snapshot; commit;