mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
Fix max buffer length
This commit is contained in:
parent
63e106f00b
commit
288f81ce07
2 changed files with 3 additions and 3 deletions
|
@ -437,7 +437,7 @@ CHANGEABLE_VAR changeable_vars[] = {
|
|||
{ "connect_timeout", (long*) &opt_connect_timeout, 0, 0, 3600*12, 0, 1},
|
||||
{ "max_allowed_packet", (long*) &max_allowed_packet,16*1024L*1024L,4096,
|
||||
24*1024L*1024L, MALLOC_OVERHEAD,1024},
|
||||
{ "net_buffer_length",(long*) &net_buffer_length,16384,1024,24*1024*1024L,
|
||||
{ "net_buffer_length",(long*) &net_buffer_length,16384,1024,16*1024*1024L,
|
||||
MALLOC_OVERHEAD,1024},
|
||||
{ "select_limit", (long*) &select_limit, 1000L, 1, ~0L, 0, 1},
|
||||
{ "max_join_size", (long*) &max_join_size, 1000000L, 1, ~0L, 0, 1},
|
||||
|
|
|
@ -147,9 +147,9 @@ static const char *load_default_groups[]= { "mysqldump","client",0 };
|
|||
|
||||
CHANGEABLE_VAR md_changeable_vars[] = {
|
||||
{ "max_allowed_packet", (long*) &max_allowed_packet,24*1024*1024,4096,
|
||||
24*1024L*1024L,MALLOC_OVERHEAD,1024},
|
||||
16*1024L*1024L,MALLOC_OVERHEAD,1024},
|
||||
{ "net_buffer_length", (long*) &net_buffer_length,1024*1024L-1025,4096,
|
||||
24*1024L*1024L,MALLOC_OVERHEAD-1024,1024},
|
||||
16*1024L*1024L,MALLOC_OVERHEAD+1024,1024},
|
||||
{ 0, 0, 0, 0, 0, 0, 0}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue