List:Internals« Previous MessageNext Message »
From:jonas Date:October 17 2005 6:30am
Subject:bk commit into 5.0 tree (jonas:1.2041)
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
  1.2041 05/10/17 08:29:58 jonas@stripped +1 -0
  ndb - ndbapi testprogram bugfix
    testBackup, fix assertion

  ndb/test/ndbapi/testBackup.cpp
    1.13 05/10/17 08:29:54 jonas@stripped +7 -4
    Fetch table before verifying

# 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-5.0

--- 1.12/ndb/test/ndbapi/testBackup.cpp	2005-07-20 13:22:37 +02:00
+++ 1.13/ndb/test/ndbapi/testBackup.cpp	2005-10-17 08:29:54 +02:00
@@ -229,10 +229,13 @@
   int result = NDBT_OK;
   int count = 0;
 
-  ndbout << *(const NDBT_Table*)ctx->getTab() << endl;
-
-  UtilTransactions utilTrans(*ctx->getTab());
-  HugoTransactions hugoTrans(*ctx->getTab());
+  const NdbDictionary::Table* tab = 
+    GETNDB(step)->getDictionary()->getTable(ctx->getTab()->getName());
+  if(tab == 0)
+    return NDBT_FAILED;
+  
+  UtilTransactions utilTrans(* tab);
+  HugoTransactions hugoTrans(* tab);
 
   do{
 
Thread
bk commit into 5.0 tree (jonas:1.2041)jonas17 Oct