summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-08-19 09:26:13 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2022-08-19 09:26:13 +0300
commit75c416d3627650a5b43c70a8150292990206e3e0 (patch)
treec4e6744fc303e5cc34fdbeb0437c7945f11c983e
parentc2df3d30c065d962d4d40f94aca42b527f647bac (diff)
downloadmariadb-git-75c416d3627650a5b43c70a8150292990206e3e0.tar.gz
MDEV-24626 fixup: mariabackup.compress_qpress
-rw-r--r--mysql-test/suite/mariabackup/compress_qpress.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/suite/mariabackup/compress_qpress.test b/mysql-test/suite/mariabackup/compress_qpress.test
index f86efe44e5d..c7762f8e55e 100644
--- a/mysql-test/suite/mariabackup/compress_qpress.test
+++ b/mysql-test/suite/mariabackup/compress_qpress.test
@@ -12,6 +12,10 @@ INSERT INTO t VALUES(2);
echo # xtrabackup prepare;
--disable_result_log
+# Because MDEV-24626 in 10.6 optimized file creation, we could end up with
+# t.new.qp instead of t.ibd.qp unless a log checkpoint happened to be
+# triggered between CREATE TABLE and the backup run.
+--replace_result t.new t.ibd
list_files $targetdir/test *.qp;
exec $XTRABACKUP --decompress --remove-original --target-dir=$targetdir;
list_files $targetdir/test *.qp;