List:Commits« Previous MessageNext Message »
From:jstephens Date:July 11 2006 12:36pm
Subject:svn commit - mysqldoc@docsrva: r2699 - trunk/ndbapi
View as plain text  
Author: jstephens
Date: 2006-07-11 14:36:27 +0200 (Tue, 11 Jul 2006)
New Revision: 2699

Log:
Use of Ndb_cluster_connection::wait_until_ready() is *not* optional (Thanks, Geert!)

Modified:
   trunk/ndbapi/examples.xml


Modified: trunk/ndbapi/examples.xml
===================================================================
--- trunk/ndbapi/examples.xml	2006-07-11 12:28:57 UTC (rev 2698)
+++ trunk/ndbapi/examples.xml	2006-07-11 12:36:27 UTC (rev 2699)
Changed blocks: 2, Lines Added: 2, Lines Deleted: 4; 950 bytes

@@ -112,8 +112,7 @@
       exit(-1);
     }
 
-    //  (Optional:) Connect and wait 
-    //  for the storage nodes (ndbd processes)
+    //  Connect and wait for the storage nodes (ndbd processes)
     if (cluster_connection.wait_until_ready(30,0) < 0)
     {
       std::cout << "Cluster was not ready within 30 secs.\n";

@@ -1433,8 +1432,7 @@
     std::cout << "Unable to connect to cluster within 30 secs." << std::endl;
     exit(-1);
   }
-  // (Optional:) Connect and wait 
-  // for the storage nodes (ndbd processes).
+  // Connect and wait for the storage nodes (ndbd processes).
   if (cluster_connection.wait_until_ready(30,0) < 0)
   {
     std::cout << "Cluster was not ready within 30 secs.\n";


Thread
svn commit - mysqldoc@docsrva: r2699 - trunk/ndbapijstephens11 Jul