summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-08-07 23:56:30 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-08-09 13:00:01 +0300
commit932273a8a009ee59b6d749aa27c161ade85b0a46 (patch)
treed01951b6d5d76fe737f0972c69dee64297de74a6
parent620ba97cfc2e3db00c3f8e423ad92e24d255af8f (diff)
downloadmariadb-git-932273a8a009ee59b6d749aa27c161ade85b0a46.tar.gz
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.
-rw-r--r--mysql-test/suite/gcol/r/innodb_virtual_debug_purge.result4
1 files 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;