diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-08-31 13:55:02 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-08-31 13:55:02 +0300 |
commit | 9608773f75e2ca21491ef6825c3616cdc96d1ca5 (patch) | |
tree | ec2c4a8d43eb051a395ff1aaa4be06fe345082db /mysql-test/main/mysql_upgrade.test | |
parent | 45a05fda27dc7058ce8a89f14b1daa56352adf6b (diff) | |
download | mariadb-git-9608773f75e2ca21491ef6825c3616cdc96d1ca5.tar.gz |
MDEV-4750 follow-up: Reduce disabling innodb_stats_persistent
This essentially reverts commit 4e89ec6692786bc1cbdce64d43d8e85a5d247dab
and only disables InnoDB persistent statistics for tests where it is
desirable. By design, InnoDB persistent statistics will not be updated
except by ANALYZE TABLE or by STATS_AUTO_RECALC.
The internal transactions that update persistent InnoDB statistics
in background tasks (with innodb_stats_auto_recalc=ON) may cause
nondeterministic query plans or interfere with some tests that deal
with other InnoDB internals, such as the purge of transaction history.
Diffstat (limited to 'mysql-test/main/mysql_upgrade.test')
-rw-r--r-- | mysql-test/main/mysql_upgrade.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/main/mysql_upgrade.test b/mysql-test/main/mysql_upgrade.test index ae1b328e699..10dddbe7943 100644 --- a/mysql-test/main/mysql_upgrade.test +++ b/mysql-test/main/mysql_upgrade.test @@ -367,7 +367,7 @@ rename table mysql.global_priv_bak to mysql.global_priv; --echo # # The warning appears during mysql_upgrade, before the schema becomes consistent -call mtr.add_suppression("innodb_table_stats has length mismatch in the column name table_name"); +call mtr.add_suppression("innodb_(table|index)_stats has length mismatch in the column name table_name"); # This comes from opening 10.6 sys.host_summary view that uses sys.format_time function, # on still inconsistent mysql.proc, in older versions call mtr.add_suppression("Column count of mysql.proc is wrong. Expected 21, found 20."); |