List:Commits« Previous MessageNext Message »
From:tomas Date:January 17 2007 1:47pm
Subject:bk commit into 5.0 tree (tomas:1.2382)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of tomas. When tomas 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.2382 07/01/17 14:46:31 tomas@stripped +1 -0
  Merge poseidon.mysql.com:/home/tomas/mysql-4.1
  into  poseidon.mysql.com:/home/tomas/mysql-5.0

  sql/ha_ndbcluster.cc
    1.293 07/01/17 14:46:21 tomas@stripped +3 -3
    manual merge

# 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:	tomas
# Host:	poseidon.mysql.com
# Root:	/home/tomas/mysql-5.0/RESYNC

--- 1.292/sql/ha_ndbcluster.cc	2006-12-23 20:04:24 +01:00
+++ 1.293/sql/ha_ndbcluster.cc	2007-01-17 14:46:21 +01:00
@@ -6109,22 +6109,6 @@
 
     DBUG_RETURN(0);
 retry:
-    if(report_error)
-    {
-      if (file)
-      {
-        reterr= file->ndb_err(pTrans);
-      }
-      else
-      {
-        const NdbError& tmp= error;
-        ERR_PRINT(tmp);
-        reterr= ndb_to_mysql_error(&tmp);
-      }
-    }
-    else
-      reterr= error.code;
-
     if (pTrans)
     {
       ndb->closeTransaction(pTrans);
@@ -6135,6 +6119,15 @@
       my_sleep(retry_sleep);
       continue;
     }
+    if(report_error)
+    {
+      const NdbError& tmp= error;
+      ERR_PRINT(tmp);
+      reterr= ndb_to_mysql_error(&tmp);
+    }
+    else
+      reterr= error.code;
+
     break;
   } while(1);
   DBUG_PRINT("exit", ("failed, reterr: %u, NdbError %u(%s)", reterr,
Thread
bk commit into 5.0 tree (tomas:1.2382)tomas17 Jan