From 911a8e1ba05462f532b210a7d918ba2483fa72a7 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 21 Oct 2002 09:56:30 +0500 Subject: Embedded server bugfix libmysqld/lib_sql.cc: Necessary thd->scramble initialization added BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted --- libmysqld/lib_sql.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'libmysqld') 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); -- cgit v1.2.1