Commit a9f4be70 authored by unknown's avatar unknown

Initialize thd->no_trans_update

(Fixes valgrind warnings)

parent 60ad53cd
...@@ -333,6 +333,7 @@ void THD::init(void) ...@@ -333,6 +333,7 @@ void THD::init(void)
if (variables.sql_mode & MODE_NO_BACKSLASH_ESCAPES) if (variables.sql_mode & MODE_NO_BACKSLASH_ESCAPES)
server_status|= SERVER_STATUS_NO_BACKSLASH_ESCAPES; server_status|= SERVER_STATUS_NO_BACKSLASH_ESCAPES;
options= thd_startup_options; options= thd_startup_options;
no_trans_update.stmt= no_trans_update.all= FALSE;
open_options=ha_open_options; open_options=ha_open_options;
update_lock_default= (variables.low_priority_updates ? update_lock_default= (variables.low_priority_updates ?
TL_WRITE_LOW_PRIORITY : TL_WRITE_LOW_PRIORITY :
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment