MySQL Lists are EOL. Please join:

List:Internals« Previous MessageNext Message »
From:jonas Date:September 30 2005 10:22am
Subject:bk commit into 4.1 tree (jonas:1.2452)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of jonas. When jonas 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
  1.2452 05/09/30 12:22:00 jonas@stripped +1 -0
  ndb_config
    Check returnvalue on load/fetch configuration

  ndb/tools/ndb_config.cpp
    1.8 05/09/30 12:21:59 jonas@stripped +5 -0
    Check returnvalue on load/fetch configuration

# 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:	jonas
# Host:	perch.ndb.mysql.com
# Root:	/home/jonas/src/mysql-4.1

--- 1.7/ndb/tools/ndb_config.cpp	2005-09-30 11:39:48 +02:00
+++ 1.8/ndb/tools/ndb_config.cpp	2005-09-30 12:21:59 +02:00
@@ -168,6 +168,11 @@
   else
     conf = fetch_configuration();
 
+  if (conf == 0)
+  {
+    return -1;
+  }
+  
   Vector<Apply*> select_list;
   Vector<Match*> where_clause;
 
Thread
bk commit into 4.1 tree (jonas:1.2452)jonas30 Sep