From a9f4be70547229da701fb3f7c91c38096e31b00d Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 29 Mar 2007 21:06:32 +0300 Subject: [PATCH] Initialize thd->no_trans_update (Fixes valgrind warnings) --- sql/sql_class.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/sql_class.cc b/sql/sql_class.cc index 971d7e9d1b1..07f94ce768a 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -333,6 +333,7 @@ void THD::init(void) if (variables.sql_mode & MODE_NO_BACKSLASH_ESCAPES) server_status|= SERVER_STATUS_NO_BACKSLASH_ESCAPES; options= thd_startup_options; + no_trans_update.stmt= no_trans_update.all= FALSE; open_options=ha_open_options; update_lock_default= (variables.low_priority_updates ? TL_WRITE_LOW_PRIORITY :