List:Commits« Previous MessageNext Message »
From:tomas Date:July 25 2007 7:22am
Subject:bk commit into 5.1 tree (tomas:1.2564)
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-07-25 07:22:28+02:00, tomas@stripped +1 -0
  wait_until_ready may return greater that 1 since wait time for second node to connect is
0

  storage/ndb/ndbapi-examples/ndbapi_async1/ndbapi_async1.cpp@stripped, 2007-07-25
07:22:25+02:00, tomas@stripped +1 -1
    wait_until_ready may return greater that 1 since wait time for second node to connect
is 0

# 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-new-ndb

--- 1.3/storage/ndb/ndbapi-examples/ndbapi_async1/ndbapi_async1.cpp	2006-12-23 20:33:30
+01:00
+++ 1.4/storage/ndb/ndbapi-examples/ndbapi_async1/ndbapi_async1.cpp	2007-07-25 07:22:25
+02:00
@@ -75,7 +75,7 @@
     exit(-1);
   }
 
-  if (cluster_connection->wait_until_ready(30,0))
+  if (cluster_connection->wait_until_ready(30,0) < 0)
   {
     std::cout << "Cluster was not ready within 30 secs." << std::endl;
     exit(-1);
Thread
bk commit into 5.1 tree (tomas:1.2564)tomas25 Jul