1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Patch to eliminate some valgrind warnings in debug printout code.

This commit is contained in:
mkindahl@dl145h.mysql.com
2008-02-06 14:44:47 +01:00
parent 0155420624
commit 43f06a0557
4 changed files with 25 additions and 9 deletions

View File

@ -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)