summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorhf@genie.(none) <>2002-10-21 09:56:30 +0500
committerhf@genie.(none) <>2002-10-21 09:56:30 +0500
commit8744bd0064bf41f65cb0eba21515336133d366d1 (patch)
treeceda503aaae56b48a50435a9916b2e86787ad8f8 /libmysqld
parent4175461c008ac99f1488bac4d1af13d4b68788ec (diff)
downloadmariadb-git-8744bd0064bf41f65cb0eba21515336133d366d1.tar.gz
Embedded server bugfix
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/lib_sql.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc
index 1afcc0d3147..f50223c789f 100644
--- a/libmysqld/lib_sql.cc
+++ b/libmysqld/lib_sql.cc
@@ -107,6 +107,7 @@ void start_embedded_conn1(NET * net)
thd->command=COM_SLEEP;
thd->version=refresh_version;
thd->set_time();
+ bzero(thd->scramble, sizeof(thd->scramble));
init_sql_alloc(&thd->mem_root,8192,8192);
check_connections1(thd);