mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed bug in blocking handling when compiling with OPENSSL (caused hangup in client code)
Fixed bug in SELECT DISTINCT ... ORDER BY not-used-column. Fixed bug in pthread_mutex_trylock with HPUX 11.0
This commit is contained in:
@ -551,9 +551,14 @@ int STDCALL mysql_server_init(int argc, char **argv, char **groups)
|
||||
sql_print_error("Warning: Can't create thread to manage maintenance");
|
||||
}
|
||||
|
||||
/* Update mysqld variables from client variables */
|
||||
global_system_variables.max_allowed_packet=max_allowed_packet;
|
||||
global_system_variables.net_buffer_length=net_buffer_length;
|
||||
/*
|
||||
Update mysqld variables from client variables if set
|
||||
The client variables are set also by get_one_option() in mysqld.cc
|
||||
*/
|
||||
if (max_allowed_packet)
|
||||
global_system_variables.max_allowed_packet= max_allowed_packet;
|
||||
if (net_buffer_length)
|
||||
global_system_variables.net_buffer_length= net_buffer_length;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user