From 911a8e1ba05462f532b210a7d918ba2483fa72a7 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 21 Oct 2002 09:56:30 +0500 Subject: [PATCH] Embedded server bugfix libmysqld/lib_sql.cc: Necessary thd->scramble initialization added BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted --- BitKeeper/etc/logging_ok | 1 + libmysqld/lib_sql.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok index 851a8f4be33..f01b377fd34 100644 --- a/BitKeeper/etc/logging_ok +++ b/BitKeeper/etc/logging_ok @@ -87,3 +87,4 @@ worm@altair.is.lan zak@balfor.local zak@linux.local zgreant@mysql.com +hf@genie.(none) 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);