diff options
author | monty@hundin.mysql.fi <> | 2002-08-17 00:35:51 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-08-17 00:35:51 +0300 |
commit | 5773b6504a888d61af1cdf7c0764bff7860ab90a (patch) | |
tree | a5bba2df04761e778b4e626fc71182b2708f85ff /libmysqld/lib_sql.cc | |
parent | 5ff30464a68f70e01664a0af8dd9406e839c99ab (diff) | |
download | mariadb-git-5773b6504a888d61af1cdf7c0764bff7860ab90a.tar.gz |
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
Diffstat (limited to 'libmysqld/lib_sql.cc')
-rw-r--r-- | libmysqld/lib_sql.cc | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc index 8922b8326d3..0774254baa7 100644 --- a/libmysqld/lib_sql.cc +++ b/libmysqld/lib_sql.cc @@ -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; } |