List:Commits« Previous MessageNext Message »
From:gni Date:December 14 2006 11:32am
Subject:bk commit into 5.0 tree (gni:1.2318)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of root. When root 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, 2006-12-14 18:32:02+08:00, gni@stripped +1 -0
  Merge dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-5.0/mysql-5.0-ndb-bj
  into  dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-5.0/bug21033
  MERGE: 1.2256.1.3

  ndb/src/ndbapi/Ndb.cpp@stripped, 2006-12-14 18:31:58+08:00, gni@stripped +0 -0
    Auto merged
    MERGE: 1.60.1.1

# 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:	gni
# Host:	dev3-221.dev.cn.tlan
# Root:	/home/ngb/mysql/mysql-5.0/bug21033/RESYNC

--- 1.61/ndb/src/ndbapi/Ndb.cpp	2006-12-14 18:32:07 +08:00
+++ 1.62/ndb/src/ndbapi/Ndb.cpp	2006-12-14 18:32:07 +08:00
@@ -983,6 +983,8 @@
   Uint64             tValue;
   NdbRecAttr*        tRecAttrResult;
 
+  NdbError savedError;
+
   CHECK_STATUS_MACRO_ZERO;
 
   BaseString currentDb(getDatabaseName());
@@ -1077,7 +1079,12 @@
 
   error_handler:
     theError.code = tConnection->theError.code;
+
+    savedError = theError;
+
     this->closeTransaction(tConnection);
+    theError = savedError;
+
   error_return:
     // Restore current name space
     setDatabaseName(currentDb.c_str());
Thread
bk commit into 5.0 tree (gni:1.2318)gni14 Dec