mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
9608773f75
This essentially reverts commit 4e89ec6692
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.
18 lines
541 B
Text
18 lines
541 B
Text
# t/rowid_order_innodb.test
|
|
#
|
|
# Test for rowid ordering (and comparison) functions.
|
|
# do index_merge select for tables with PK of various types.
|
|
#
|
|
# Last update:
|
|
# 2006-07-28 ML test refactored (MySQL 5.1)
|
|
# main code t/rowid_order_innodb.test -> include/rowid_order.inc
|
|
#
|
|
|
|
--source include/have_innodb.inc
|
|
let $engine_type= InnoDB;
|
|
SET @save_stats_persistent=@@GLOBAL.innodb_stats_persistent;
|
|
SET GLOBAL innodb_stats_persistent=0;
|
|
|
|
--source include/rowid_order.inc
|
|
|
|
SET GLOBAL innodb_stats_persistent=@save_stats_persistent;
|