List:Commits« Previous MessageNext Message »
From:tomas Date:March 29 2007 6:42pm
Subject:bk commit into 5.1 tree (tomas:1.2451) BUG#27529
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of tomas. When tomas does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2007-03-29 18:42:00+02:00, tomas@stripped +1 -0
  Bug #27529: Slave crashes on lots of updates
  - do not try to perge binlog when purge comes from slave, it never purges binlog anyways

  sql/ha_ndbcluster_binlog.cc@stripped, 2007-03-29 18:41:49+02:00,
tomas@stripped +1 -1
    Bug #27529: Slave crashes on lots of updates
    - do not try to perge binlog when purge comes from slave, it never purges binlog
anyways

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	tomas
# Host:	whalegate.ndb.mysql.com
# Root:	/home/tomas/mysql-5.1-telco-gca

--- 1.95/sql/ha_ndbcluster_binlog.cc	2006-12-31 01:04:56 +01:00
+++ 1.96/sql/ha_ndbcluster_binlog.cc	2007-03-29 18:41:49 +02:00
@@ -492,7 +492,7 @@
 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");
Thread
bk commit into 5.1 tree (tomas:1.2451) BUG#27529tomas29 Mar