mirror of
https://github.com/MariaDB/server.git
synced 2025-11-26 15:39:48 +01:00
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.
16 lines
316 B
Text
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;
|