mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-23386: mtr: main.mysqld--help autosized table{-open,}-cach and max-connections
Example of the failure: http://buildbot.askmonty.org/buildbot/builders/bld-p9-rhel7/builds/4417/steps/mtr/logs/stdio ``` main.mysqld--help 'unix' w17 [ fail ] Test ended at 2020-06-20 18:51:45 CURRENT_TEST: main.mysqld--help --- /opt/buildbot-slave/bld-p9-rhel7/build/mysql-test/main/mysqld--help.result 2020-06-20 16:06:49.903604179 +0300 +++ /opt/buildbot-slave/bld-p9-rhel7/build/mysql-test/main/mysqld--help.reject 2020-06-20 18:51:44.886766820 +0300 @@ -1797,10 +1797,10 @@ sync-relay-log-info 10000 sysdate-is-now FALSE system-versioning-alter-history ERROR -table-cache 421 +table-cache 2000 table-definition-cache 400 -table-open-cache 421 -table-open-cache-instances 1 +table-open-cache 2000 +table-open-cache-instances 8 tc-heuristic-recover OFF tcp-keepalive-interval 0 tcp-keepalive-probes 0 mysqltest: Result length mismatch ``` mtr: table_open_cache_basic autosized: Lets assume that >400 are available and that we can set the result back to the start value. All of these system variables are autosized and can generate MTR output differences. Closes #1527
This commit is contained in:
committed by
Anel Husakovic
parent
85bd5314c5
commit
deb365581b
@ -1,7 +1,7 @@
|
||||
SET @start_value = @@global.table_open_cache ;
|
||||
SELECT @start_value;
|
||||
@start_value
|
||||
421
|
||||
SELECT @start_value > 400;
|
||||
@start_value > 400
|
||||
1
|
||||
'#--------------------FN_DYNVARS_001_01------------------------#'
|
||||
SET @@global.table_open_cache = 99;
|
||||
SET @@global.table_open_cache = DeFAULT;
|
||||
@ -108,6 +108,6 @@ ERROR 42S02: Unknown table 'global' in field list
|
||||
SELECT table_open_cache = @@session.table_open_cache ;
|
||||
ERROR 42S22: Unknown column 'table_open_cache' in 'field list'
|
||||
SET @@global.table_open_cache = @start_value;
|
||||
SELECT @@global.table_open_cache ;
|
||||
@@global.table_open_cache
|
||||
421
|
||||
SELECT @@global.table_open_cache = @start_value ;
|
||||
@@global.table_open_cache = @start_value
|
||||
1
|
||||
|
Reference in New Issue
Block a user