summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-10-27 09:52:42 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2020-10-27 09:52:42 +0200
commit00ddea4f2f7d20e09a28655b2f30a4c014e9344a (patch)
tree9b0d93a4d22585c05f67c7db0e1138c9d331afa6
parentc27e53f45992d0b0b5eb5ff6242cfe1a78eba8b5 (diff)
downloadmariadb-git-00ddea4f2f7d20e09a28655b2f30a4c014e9344a.tar.gz
MDEV-24024 innodb.ibuf_not_empty failed in buildbot
Probably due to the changes to page flushing in MDEV-23399 (commit 7cffb5f6e8a231a041152447be8980ce35d2c9b8) the command CHECK TABLE would occasionally report a different number of rows for the corrupted secondary index. (The reported number was 991 instead of 990 on one occasion.) Let us map all numbers to 990 in the output. We only care that the injected corruption will be detected.
-rw-r--r--mysql-test/suite/innodb/t/ibuf_not_empty.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/t/ibuf_not_empty.test b/mysql-test/suite/innodb/t/ibuf_not_empty.test
index 3b254177497..545a78c887e 100644
--- a/mysql-test/suite/innodb/t/ibuf_not_empty.test
+++ b/mysql-test/suite/innodb/t/ibuf_not_empty.test
@@ -68,6 +68,7 @@ EOF
--let $restart_parameters= --innodb-force-recovery=6 --innodb-change-buffer-dump
--source include/start_mysqld.inc
+--replace_regex /contains \d+ entries/contains 990 entries/
check table t1;
--source include/shutdown_mysqld.inc