summaryrefslogtreecommitdiff
path: root/client/mysqlbinlog.cc
diff options
context:
space:
mode:
authoraelkin/elkin@dsl-hkibras1-ff5dc300-70.dhcp.inet.fi <>2007-05-30 14:29:34 +0300
committeraelkin/elkin@dsl-hkibras1-ff5dc300-70.dhcp.inet.fi <>2007-05-30 14:29:34 +0300
commit67c34a2c3c055d69983fa95b4c58326b0a776c09 (patch)
treec27695ec78e0262718015892ac622c53d15859b8 /client/mysqlbinlog.cc
parent457491f58a358b3cac5865c91932bba4677e6c0f (diff)
downloadmariadb-git-67c34a2c3c055d69983fa95b4c58326b0a776c09.tar.gz
bug#17654 --read-from-remote-server causes core
fixing FD event issue that showed up on pb.
Diffstat (limited to 'client/mysqlbinlog.cc')
-rw-r--r--client/mysqlbinlog.cc1
1 files changed, 1 insertions, 0 deletions
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