From daa3ab6ff864062be1b4d4fc3814becaa8722aec Mon Sep 17 00:00:00 2001 From: Nuno Carvalho Date: Wed, 27 Mar 2013 11:19:29 +0000 Subject: [PATCH] BUG#16541422: LOG-SLAVE-UPDATES + REPLICATE-WILD-IGNORE-TABLE FAILS FOR USER VARIABLES Fixed possible uninitialized variable. --- sql/log_event.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/log_event.cc b/sql/log_event.cc index f962f897984..fe93eb665cf 100644 --- a/sql/log_event.cc +++ b/sql/log_event.cc @@ -5967,7 +5967,7 @@ int User_var_log_event::do_apply_event(Relay_log_info const *rli) { Item *it= 0; CHARSET_INFO *charset; - query_id_t sav_query_id; /* memorize orig id when deferred applying */ + query_id_t sav_query_id= 0; /* memorize orig id when deferred applying */ if (rli->deferred_events_collecting) {