summaryrefslogtreecommitdiff
path: root/sql/mysqld.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r--sql/mysqld.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 705f843dec0..d94d702cdc8 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -3970,6 +3970,14 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
safemalloc_mem_limit = atoi(argument);
#endif
break;
+#ifdef EMBEDDED_LIBRARY
+ case OPT_MAX_ALLOWED_PACKET:
+ max_allowed_packet= atoi(argument);
+ break;
+ case OPT_NET_BUFFER_LENGTH:
+ net_buffer_length= atoi(argument);
+ break;
+#endif
case 'v':
case 'V':
print_version();