mirror of
https://github.com/MariaDB/server.git
synced 2026-04-27 10:45:30 +02:00
mysql-test/t/rpl_sporadic_master.test
use truncate table
sql/slave.cc
fixed race condition on server shutdown
sql/sql_repl.cc
fixed uninitialized use of io_cache
mysql-test/t/rpl_sporadic_master.test:
use truncate table
sql/slave.cc:
fixed race condition on server shutdown
sql/sql_repl.cc:
fixed uninitialized use of io_cache
This commit is contained in:
parent
586648ccc2
commit
bc059e42c3
3 changed files with 8 additions and 8 deletions
|
|
@ -350,6 +350,7 @@ void mysql_binlog_send(THD* thd, char* log_ident, ulong pos, ushort flags)
|
|||
int left_events = max_binlog_dump_events;
|
||||
#endif
|
||||
DBUG_ENTER("mysql_binlog_send");
|
||||
bzero((char*) &log,sizeof(log));
|
||||
|
||||
#ifndef DBUG_OFF
|
||||
if (opt_sporadic_binlog_dump_fail && (binlog_dump_count++ % 2))
|
||||
|
|
@ -359,7 +360,6 @@ void mysql_binlog_send(THD* thd, char* log_ident, ulong pos, ushort flags)
|
|||
}
|
||||
#endif
|
||||
|
||||
bzero((char*) &log,sizeof(log));
|
||||
|
||||
if (!mysql_bin_log.is_open())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue