List:Commits« Previous MessageNext Message »
From:jonas Date:February 19 2007 9:51pm
Subject:bk commit into 5.0 tree (jonas:1.2290)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 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@stripped, 2007-02-19 22:51:04+01:00, jonas@stripped +1 -0
  ndb - fix correct argv/argc handling in testBitfield

  ndb/test/ndbapi/testBitfield.cpp@stripped, 2007-02-19 22:51:02+01:00, jonas@stripped +4 -3
    fix correct argv/argc handling in testBitfield

# 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/50-work

--- 1.9/ndb/test/ndbapi/testBitfield.cpp	2007-02-19 22:51:07 +01:00
+++ 1.10/ndb/test/ndbapi/testBitfield.cpp	2007-02-19 22:51:07 +01:00
@@ -36,9 +36,10 @@
   load_defaults("my",load_default_groups,&argc,&argv);
   int ho_error;
 
-  argc--;
-  argv++;
-  
+  if ((ho_error=handle_options(&argc, &argv, my_long_options,
+			       ndb_std_get_one_option)))
+    return NDBT_ProgramExit(NDBT_WRONGARGS);
+
   Ndb_cluster_connection con(opt_connect_str);
   if(con.connect(12, 5, 1))
   {
Thread
bk commit into 5.0 tree (jonas:1.2290)jonas19 Feb