Loading storage/ndb/src/ndbapi/NdbScanOperation.cpp +11 −3 Original line number Diff line number Diff line Loading @@ -478,10 +478,14 @@ int NdbScanOperation::nextResultImpl(bool fetchAllowed, bool forceSend) */ PollGuard poll_guard(tp, &theNdb->theImpl->theWaiter, theNdb->theNdbBlockNumber); const Uint32 seq = theNdbCon->theNodeSequence; if(theError.code) return -1; { goto err4; } Uint32 seq = theNdbCon->theNodeSequence; if(seq == tp->getNodeSequence(nodeId) && send_next_scan(idx, false) == 0) { Loading Loading @@ -564,6 +568,10 @@ int NdbScanOperation::nextResultImpl(bool fetchAllowed, bool forceSend) if(theError.code == 0) setErrorCode(4028); // seq changed = Node fail break; case -4: err4: setErrorCode(theError.code); break; } theNdbCon->theTransactionIsStarted = false; Loading Loading
storage/ndb/src/ndbapi/NdbScanOperation.cpp +11 −3 Original line number Diff line number Diff line Loading @@ -478,10 +478,14 @@ int NdbScanOperation::nextResultImpl(bool fetchAllowed, bool forceSend) */ PollGuard poll_guard(tp, &theNdb->theImpl->theWaiter, theNdb->theNdbBlockNumber); const Uint32 seq = theNdbCon->theNodeSequence; if(theError.code) return -1; { goto err4; } Uint32 seq = theNdbCon->theNodeSequence; if(seq == tp->getNodeSequence(nodeId) && send_next_scan(idx, false) == 0) { Loading Loading @@ -564,6 +568,10 @@ int NdbScanOperation::nextResultImpl(bool fetchAllowed, bool forceSend) if(theError.code == 0) setErrorCode(4028); // seq changed = Node fail break; case -4: err4: setErrorCode(theError.code); break; } theNdbCon->theTransactionIsStarted = false; Loading