diff options
author | mkindahl@dl145h.mysql.com <> | 2008-02-06 14:44:47 +0100 |
---|---|---|
committer | mkindahl@dl145h.mysql.com <> | 2008-02-06 14:44:47 +0100 |
commit | 43f06a0557646ae5fd542f15fa10d86824880541 (patch) | |
tree | 9c6f98a123d4df815f3a539bac1071c063280a06 /sql/sql_binlog.cc | |
parent | 01554206245dce4fa223992abfbdee6a38dd0a7e (diff) | |
download | mariadb-git-43f06a0557646ae5fd542f15fa10d86824880541.tar.gz |
Patch to eliminate some valgrind warnings in debug printout code.
Diffstat (limited to 'sql/sql_binlog.cc')
-rw-r--r-- | sql/sql_binlog.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_binlog.cc b/sql/sql_binlog.cc index 04f408453ea..f1fbe6eb4b7 100644 --- a/sql/sql_binlog.cc +++ b/sql/sql_binlog.cc @@ -56,6 +56,9 @@ void mysql_client_binlog_statement(THD* thd) if (!thd->rli_fake) { thd->rli_fake= new Relay_log_info; +#ifdef HAVE_purify + thd->rli_fake->is_fake= TRUE; +#endif have_fd_event= FALSE; } if (thd->rli_fake && !thd->rli_fake->relay_log.description_event_for_exec) |