mariadb/mysql-test/suite/galera/r/galera_provider_options_long.result
Jan Lindström ca7e1a39b3 MDEV-36843 : Galera tests fail if wsrep_provider_options is too long (> 2k)
Galera provider options contains many options and several directory names and
file names that could lead situation where wsrep_provider_options string
is longer than 2k. Many tests set few new options required by test
and then restore wsrep_provider_options to original value. This restoring
wsrep_provider_options string to original value then fails because
of common limit for all charptr variables (2k).

Fix is to increase common limit for all charptr variables to 4kb.
2025-10-17 17:21:00 +03:00

16 lines
316 B
Text

connection node_2;
connection node_1;
#
# wsrep_provider_options should be already > 2k length
#
AS_EXPECT_1
1
#
# Setting single value should pass
#
SET GLOBAL wsrep_provider_options='pc.ignore_sb=false;pc.weight=2';
#
# This failed before change with ER_WRONG_STRING_LENGTH
#
disconnect node_2;
disconnect node_1;