mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user sql/ha_ndbcluster_binlog.cc: Auto merged
This commit is contained in:
commit
db2236be8b
1 changed files with 1 additions and 1 deletions
|
@ -500,7 +500,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");
|
||||
|
|
Loading…
Reference in a new issue