Skip to content

Commit 0b94379

Browse files
author
Jan Lindström
committed
MDEV-13850: Uninitialized variable at wsrep_binlog.cc:455
1 parent 99fbf3e commit 0b94379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/wsrep_binlog.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ void wsrep_dump_rbr_buf_with_header(THD *thd, const void *rbr_buf,
452452
File file;
453453
IO_CACHE cache;
454454
Log_event_writer writer(&cache);
455-
Format_description_log_event *ev;
455+
Format_description_log_event *ev=NULL;
456456

457457
int len= my_snprintf(filename, PATH_MAX, "%s/GRA_%ld_%lld_v2.log",
458458
wsrep_data_home_dir, thd->thread_id,

0 commit comments

Comments
 (0)