summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2016-04-28 11:10:55 +0300
committerMonty <monty@mariadb.org>2016-04-28 13:39:55 +0300
commitb4ff64568c88ab3ce559e7bd39853d9cbf86704a (patch)
tree1eff90ae44fc8b7e8e224844c087add4e561ebb5 /libmysqld
parent7c6cb41b15624fa77cbc92c7b5de9a834e011d56 (diff)
downloadmariadb-git-b4ff64568c88ab3ce559e7bd39853d9cbf86704a.tar.gz
Fixed wrong counting of global Memory_used
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/lib_sql.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc
index 86a0676d97e..a313c624078 100644
--- a/libmysqld/lib_sql.cc
+++ b/libmysqld/lib_sql.cc
@@ -516,6 +516,9 @@ int init_embedded_server(int argc, char **argv, char **groups)
if (my_thread_init())
return 1;
+ if (init_early_variables())
+ return 1;
+
if (argc)
{
argcp= &argc;