summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2017-09-20 09:56:45 +0300
committerJan Lindström <jan.lindstrom@mariadb.com>2017-09-20 09:57:39 +0300
commit0b9437951c552a63e4a42581128189ed96534d40 (patch)
tree0a7f65f30b8dbbbd0c523f38fd3dcc795924c12f
parent99fbf3eb59845ac2a2fc07094c54f1edff3518d7 (diff)
downloadmariadb-git-0b9437951c552a63e4a42581128189ed96534d40.tar.gz
MDEV-13850: Uninitialized variable at wsrep_binlog.cc:455
-rw-r--r--sql/wsrep_binlog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/wsrep_binlog.cc b/sql/wsrep_binlog.cc
index b6aee3a74ab..998f4e72157 100644
--- a/sql/wsrep_binlog.cc
+++ b/sql/wsrep_binlog.cc
@@ -452,7 +452,7 @@ void wsrep_dump_rbr_buf_with_header(THD *thd, const void *rbr_buf,
File file;
IO_CACHE cache;
Log_event_writer writer(&cache);
- Format_description_log_event *ev;
+ Format_description_log_event *ev=NULL;
int len= my_snprintf(filename, PATH_MAX, "%s/GRA_%ld_%lld_v2.log",
wsrep_data_home_dir, thd->thread_id,