List:Commits« Previous MessageNext Message »
From:tomas Date:January 17 2007 10:42am
Subject:bk commit into 5.0 tree (tulin:1.2384) BUG#25668
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of mysqldev. When mysqldev 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-01-17 10:41:52+01:00, tulin@stripped +1 -0
  ha_ndbcluster.cc:
    Bug #25668    - corrected patch after test failures

  sql/ha_ndbcluster.cc@stripped, 2007-01-17 10:38:52+01:00, tulin@stripped +16 -9
    Bug #25668    - corrected patch after test failures

# 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:	tulin
# Host:	production.mysql.com
# Root:	/data0/mysqldev/users/tomas/mysql-5.0-release

--- 1.293/sql/ha_ndbcluster.cc	2007-01-17 10:42:02 +01:00
+++ 1.294/sql/ha_ndbcluster.cc	2007-01-17 10:42:02 +01:00
@@ -6109,7 +6109,23 @@
 
     DBUG_RETURN(0);
 retry:
+    if(report_error)
+    {
+      if (file && pTrans)
+      {
+        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);
       pTrans= NULL;
@@ -6119,15 +6135,6 @@
       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 (tulin:1.2384) BUG#25668tomas17 Jan