Skip to content
Permalink
Browse files

codership/mysql-wsrep#348 Increase MYSQL_MAX_VARIABLE_VALUE_LEN

Increased MYSQL_MAX_VARIABLE_VALUE_LEN to 4096 in order to allow
longer wsrep_provider_option strings.

Recorded main.show_check.
  • Loading branch information...
temeo authored and janlindstrom committed Nov 19, 2018
1 parent c28d7ac commit 5e0117fce37b1eaa03ecca5bba901d5b2fe5c519
Showing with 5 additions and 5 deletions.
  1. +1 −1 cmake/wsrep.cmake
  2. +3 −3 mysql-test/r/show_check.result
  3. +1 −1 scripts/mysql_config.pl
@@ -54,7 +54,7 @@ ENDIF()

OPTION(WITH_WSREP "WSREP replication API (to use, e.g. Galera Replication library)" ON)
IF (WITH_WSREP)
SET(WSREP_C_FLAGS "-DWITH_WSREP -DWSREP_PROC_INFO -DMYSQL_MAX_VARIABLE_VALUE_LEN=2048")
SET(WSREP_C_FLAGS "-DWITH_WSREP -DWSREP_PROC_INFO -DMYSQL_MAX_VARIABLE_VALUE_LEN=4096")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WSREP_C_FLAGS}")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WSREP_C_FLAGS}")
SET(COMPILATION_COMMENT "${COMPILATION_COMMENT}, wsrep_${WSREP_VERSION}")
@@ -101,19 +101,19 @@ drop table t1;
show variables like "wait_timeout%";
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def information_schema VARIABLES VARIABLES VARIABLE_NAME Variable_name 253 64 12 N 1 0 8
def information_schema VARIABLES VARIABLES VARIABLE_VALUE Value 253 2048 5 Y 0 0 8
def information_schema VARIABLES VARIABLES VARIABLE_VALUE Value 253 4096 5 Y 0 0 8
Variable_name Value
wait_timeout 28800
show variables like "WAIT_timeout%";
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def information_schema VARIABLES VARIABLES VARIABLE_NAME Variable_name 253 64 12 N 1 0 8
def information_schema VARIABLES VARIABLES VARIABLE_VALUE Value 253 2048 5 Y 0 0 8
def information_schema VARIABLES VARIABLES VARIABLE_VALUE Value 253 4096 5 Y 0 0 8
Variable_name Value
wait_timeout 28800
show variables like "this_doesn't_exists%";
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def information_schema VARIABLES VARIABLES VARIABLE_NAME Variable_name 253 64 0 N 1 0 8
def information_schema VARIABLES VARIABLES VARIABLE_VALUE Value 253 2048 0 Y 0 0 8
def information_schema VARIABLES VARIABLES VARIABLE_VALUE Value 253 4096 0 Y 0 0 8
Variable_name Value
show table status from test like "this_doesn't_exists%";
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
@@ -53,7 +53,7 @@
my $basedir;

my $socket = '/tmp/mysql.sock';
my $version = '5.5.61';
my $version = '5.5.62';

sub which
{

0 comments on commit 5e0117f

Please sign in to comment.
You can’t perform that action at this time.