Commit 3e4b1c56 authored by unknown's avatar unknown

Merge dev3-127.(none):/mnt/mysql/home/ngb/mysql-5.1-ndb-bj

into  dev3-127.(none):/mnt/mysql/home/ngb/mysql-5.1-bug21033

parents 34b3818b 59da4b42
...@@ -1147,9 +1147,14 @@ Ndb::opTupleIdOnNdb(const NdbTableImpl* table, ...@@ -1147,9 +1147,14 @@ Ndb::opTupleIdOnNdb(const NdbTableImpl* table,
theError.code = tOperation->theError.code; theError.code = tOperation->theError.code;
DBUG_ASSERT(theError.code != 0); DBUG_ASSERT(theError.code != 0);
NdbError savedError;
savedError = theError;
if (tConnection != NULL) if (tConnection != NULL)
this->closeTransaction(tConnection); this->closeTransaction(tConnection);
theError = savedError;
DBUG_RETURN(-1); DBUG_RETURN(-1);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment