Commit 1a971260 authored by unknown's avatar unknown
Browse files

Set error code, when return NULL in hupp

parent 68e39eca
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -371,6 +371,7 @@ Ndb::hupp(NdbConnection* pBuddyTrans)
      // We could not get a connection to the desired node
      // release the connection and return NULL
      closeTransaction(pCon);
      theError.code = 4006;
      DBUG_RETURN(NULL);
    }
    pCon->setTransactionId(pBuddyTrans->getTransactionId());