1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-32050 fixup: Stabilize tests

In any test that uses wait_all_purged.inc, ensure that InnoDB tables
will be created without persistent statistics.

This is a follow-up to commit cd04673a17
after a similar failure was observed in the innodb_zip.blob test.
This commit is contained in:
Marko Mäkelä
2023-11-21 12:42:00 +02:00
parent 9c5600adde
commit 4c16ec3e77
76 changed files with 207 additions and 47 deletions

View File

@@ -17,7 +17,7 @@ CREATE TABLE t1 (
p INT NOT NULL AUTO_INCREMENT,
g LINESTRING NOT NULL,
PRIMARY KEY(p)
) ENGINE=InnoDB;
) ENGINE=InnoDB STATS_PERSISTENT=0;
if ($index == 3) {
eval ALTER TABLE t1 ADD INDEX prefix_idx (g($prefix_size));
@@ -88,7 +88,7 @@ CREATE TABLE t2 (
SPATIAL KEY (g4),
SPATIAL KEY (g5),
SPATIAL KEY (g6)
) ENGINE=InnoDB;
) ENGINE=InnoDB STATS_PERSISTENT=0;
DROP TABLE t1,t2;