Commit a304bcac authored by unknown's avatar unknown
Browse files

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 686842b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");