List:Commits« Previous MessageNext Message »
From:lzhou Date:September 19 2006 4:12pm
Subject:bk commit into 4.1 tree (lzhou:1.2535) BUG#17868
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of root. When root 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, 2006-09-19 14:11:59+00:00, lzhou@stripped +1 -0
  BUG#17868 modify errorr message when doing illegal configuration change

  ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp@stripped, 2006-09-19 14:11:58+00:00,
lzhou@stripped +6 -1
    modify error message when illegal configuration change.

# 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:	lzhou
# Host:	dev3-138.dev.cn.tlan
# Root:	/home/zhl/mysql/mysql-4.1/bug17868

--- 1.16/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp	2006-09-19 14:12:03 +00:00
+++ 1.17/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp	2006-09-19 14:12:03 +00:00
@@ -823,7 +823,12 @@
     case CheckNodeGroups::Lose:
       jam();
       // If we lose with all nodes, then we're in trouble
-      ndbrequire(!allNodes);
+      if(allNodes) {
+        char buf[255];
+        BaseString::snprintf(buf, sizeof(buf),
+                           "Illegal configuration change. ");
+        progError(__LINE__, ERR_NDBREQUIRE , buf);
+      }
       return false;
     case CheckNodeGroups::Partitioning:
       jam();
Thread
bk commit into 4.1 tree (lzhou:1.2535) BUG#17868lzhou19 Sep