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:
unknown 2007-03-29 18:52:33 +02:00
commit db2236be8b

View file

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