From: Date: August 14 2008 8:49am Subject: bzr commit into mysql-5.1 branch (hezx:2678) Bug#38290 List-Archive: http://lists.mysql.com/commits/51599 X-Bug: 38290 Message-Id: <200808140649.m7E6nevn025741@mail.hezx.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit #At file:///media/sda3/work/mysql/bzrwork/merge/merge-5.1-rpl-testfixes/ 2678 He Zhenxing 2008-08-14 [merge] auto merge modified: sql/sql_binlog.cc === modified file 'sql/sql_binlog.cc' --- a/sql/sql_binlog.cc 2008-02-19 12:45:21 +0000 +++ b/sql/sql_binlog.cc 2008-08-14 02:42:10 +0000 @@ -208,6 +208,7 @@ void mysql_client_binlog_statement(THD* #if !defined(MYSQL_CLIENT) && defined(HAVE_REPLICATION) if (apply_event_and_update_pos(ev, thd, thd->rli_fake, FALSE)) { + delete ev; /* TODO: Maybe a better error message since the BINLOG statement now contains several events.