List:Internals« Previous MessageNext Message »
From:jonas.oreland Date:April 18 2005 5:06am
Subject:bk commit into 5.1-ndb tree (joreland:1.1857)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1-ndb 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.1857 05/04/18 07:06:52 joreland@stripped +1 -0
  wl1870 - ndb diskdata
    let test prg create several logfiles

  ndb/test/ndbapi/testDict.cpp
    1.23 05/04/18 07:06:49 joreland@stripped +12 -1
    wl1870 - ndb diskdata
      let test prg create several logfiles

# 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:	joreland
# Host:	eel.hemma.oreland.se.ndb.mysql.com
# Root:	/home/jonas/src/mysql-5.1-ndb-dd

--- 1.22/ndb/test/ndbapi/testDict.cpp	Thu Apr  7 12:15:45 2005
+++ 1.23/ndb/test/ndbapi/testDict.cpp	Mon Apr 18 07:06:49 2005
@@ -1504,7 +1504,7 @@
 
   NdbDictionary::Undofile uf;
   uf.setPath("undofile01.dat");
-  uf.setSize(64*1024*1024);
+  uf.setSize(5*1024*1024);
   uf.setLogfileGroup("DEFAULT-LG");
   
   res = pNdb->getDictionary()->createUndofile(uf);
@@ -1514,6 +1514,17 @@
     return NDBT_FAILED;
   }
 
+  uf.setPath("undofile02.dat");
+  uf.setSize(5*1024*1024);
+  uf.setLogfileGroup("DEFAULT-LG");
+  
+  res = pNdb->getDictionary()->createUndofile(uf);
+  if(res != 0){
+    g_err << "Failed to create undofile:"
+	  << endl << pNdb->getDictionary()->getNdbError() << endl;
+    return NDBT_FAILED;
+  }
+  
   return NDBT_OK;
 }
 
Thread
bk commit into 5.1-ndb tree (joreland:1.1857)jonas.oreland18 Apr