summaryrefslogtreecommitdiff
path: root/sql/wsrep_binlog.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2017-05-07 18:26:10 +0300
committerMonty <monty@mariadb.org>2017-05-08 02:33:35 +0300
commit1e04ad284c6ac0a9ce433f827bc6dbfbd6029007 (patch)
treeff59557c55b06495d93a3420e8aac09588a87a9d /sql/wsrep_binlog.cc
parent276b0c8ef03046cc210e4eeab7231cb8d9f16bac (diff)
downloadmariadb-git-1e04ad284c6ac0a9ce433f827bc6dbfbd6029007.tar.gz
Fixed compiler warnings and warnings from build.tags
Other things - Ensure that ut_d() is set to EXPR if ut_ad() is DEBUG_ASSERT() If not, we will get a crash in purge_sys_t::~purge_sys_t() as this ut_ad() code expect's that the ut_d() codes has been executed
Diffstat (limited to 'sql/wsrep_binlog.cc')
-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 42b7bc81261..ad5ef9c5c55 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, 0);
- Format_description_log_event *ev;
+ Format_description_log_event *ev= 0;
int len= my_snprintf(filename, PATH_MAX, "%s/GRA_%lld_%lld_v2.log",
wsrep_data_home_dir, (longlong) thd->thread_id,