Commit 1a971260 authored by unknown's avatar unknown

Set error code, when return NULL in hupp

parent 68e39eca
...@@ -371,6 +371,7 @@ Ndb::hupp(NdbConnection* pBuddyTrans) ...@@ -371,6 +371,7 @@ Ndb::hupp(NdbConnection* pBuddyTrans)
// We could not get a connection to the desired node // We could not get a connection to the desired node
// release the connection and return NULL // release the connection and return NULL
closeTransaction(pCon); closeTransaction(pCon);
theError.code = 4006;
DBUG_RETURN(NULL); DBUG_RETURN(NULL);
} }
pCon->setTransactionId(pBuddyTrans->getTransactionId()); pCon->setTransactionId(pBuddyTrans->getTransactionId());
......
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