summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/innodb/t/compression_providers_unloaded.test
blob: 84bcce59729b5da5371eef7fed0ab70b9d05a326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
let $alg = $MTR_COMBINATIONS;

--echo #
--echo # Testing unloaded compression provider: $alg
--echo #

--echo # Innodb_have_$alg reflects that the provider is not loaded
eval SHOW GLOBAL STATUS WHERE Variable_name = "Innodb_have_$alg";

--echo # Innodb_compression_algorithm cannot be set to $alg
error ER_WRONG_VALUE_FOR_VAR;
eval SET GLOBAL Innodb_compression_algorithm = $alg;
show warnings;