From 7434a1b79f4622aaa924620c7df9fb698c5383d8 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 30 May 2007 14:29:34 +0300 Subject: bug#17654 --read-from-remote-server causes core fixing FD event issue that showed up on pb. client/mysqlbinlog.cc: resetting temp_buf specially for FD event to avoid double-freeing --- client/mysqlbinlog.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'client/mysqlbinlog.cc') diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index d2357aa10ec..179d0e9fd9e 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -635,6 +635,7 @@ Create_file event for file_id: %u\n",exv->file_id); print_event_info->common_header_len= glob_description_event->common_header_len; ev->print(result_file, print_event_info); + ev->temp_buf= 0; // as the event ref is zeroed /* We don't want this event to be deleted now, so let's hide it (I (Guilhem) should later see if this triggers a non-serious Valgrind -- cgit v1.2.1