mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
fe3284b2cc
Some invalid wsrep_provider paths may be interpreted as a valid directory. For example '/invalid/libgalera_smm.so' with UTF character set is interpreted as '/', which is a valid directory. A early check that wsrep_provider should not be a directory fixes it.
13 lines
502 B
Text
13 lines
502 B
Text
SET COLLATION_CONNECTION='utf16le_bin';
|
|
SET GLOBAL wsrep_provider='/invalid/path/libgalera_smm.so';
|
|
ERROR 42000: Variable 'wsrep_provider' can't be set to the value of '/'
|
|
SET GLOBAL wsrep_cluster_address='OFF';
|
|
SET GLOBAL wsrep_slave_threads=10;
|
|
SELECT 1;
|
|
1
|
|
1
|
|
SET GLOBAL wsrep_cluster_address='gcomm://';
|
|
SET GLOBAL wsrep_slave_threads=DEFAULT;
|
|
CALL mtr.add_suppression("wsrep_load()");
|
|
CALL mtr.add_suppression("Failed to create a new provider");
|
|
CALL mtr.add_suppression("Failed to load provider");
|