summaryrefslogtreecommitdiff
path: root/sql/mysqld.cc
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2004-07-23 00:00:50 +0500
committerunknown <hf@deer.(none)>2004-07-23 00:00:50 +0500
commit205703ff06f4f90d3542fe593294c3c54b06a5ec (patch)
treed77541d9045300f550dfc3bf1448721dbce22c73 /sql/mysqld.cc
parent2cd7e4cdefec2bd529a5de78e0d8c8adb636b036 (diff)
downloadmariadb-git-205703ff06f4f90d3542fe593294c3c54b06a5ec.tar.gz
Several fixes to make tests working for embedded library
libmysqld/lib_sql.cc: max_allowed_packet - don't send client one to global thread initialization fixed "std" to "def" in catalog name sql/mysqld.cc: added initialization of global_system_variables.max_allowed_packet sql/set_var.cc: don't do this in embedded library
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r--sql/mysqld.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 4fd13d33bab..27e9c5127f8 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -5583,9 +5583,11 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
#ifdef EMBEDDED_LIBRARY
case OPT_MAX_ALLOWED_PACKET:
max_allowed_packet= atoi(argument);
+ global_system_variables.max_allowed_packet= max_allowed_packet;
break;
case OPT_NET_BUFFER_LENGTH:
net_buffer_length= atoi(argument);
+ global_system_variables.net_buffer_length= net_buffer_length;
break;
#endif
#include <sslopt-case.h>