mariadb/mysql-test/suite/sys_vars/t/mdev_15935.test
Jan Lindström bdfc7192b3 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.

Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
2025-08-15 02:20:40 +02:00

13 lines
314 B
Text

--echo #
--echo # test cleanup of sys_var classes
--echo #
--let $long_string=`select repeat('.', 4097)`
--error ER_WRONG_STRING_LENGTH
eval set global init_connect="$long_string";
--error ER_WRONG_STRING_LENGTH
eval set global ft_boolean_syntax="$long_string";
--echo #
--echo # end of test mdev_15935
--echo #