Commit 8064973d authored by unknown's avatar unknown

Bug #27529: Slave crashes on lots of updates

- do not try to perge binlog when purge comes from slave, it never purges binlog anyways
parent a7bd98dc
......@@ -492,7 +492,7 @@ static int ndbcluster_reset_logs(THD *thd)
static int
ndbcluster_binlog_index_purge_file(THD *thd, const char *file)
{
if (!ndb_binlog_running)
if (!ndb_binlog_running || thd->slave_thread)
return 0;
DBUG_ENTER("ndbcluster_binlog_index_purge_file");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment