bug#8010 - ndb
release connections when last op was simple read
This commit is contained in:
parent
8f0cdf54ee
commit
e49de25171
@ -1271,7 +1271,10 @@ void Dbtc::execTCRELEASEREQ(Signal* signal)
|
||||
if (tapiBlockref == apiConnectptr.p->ndbapiBlockref) {
|
||||
if (apiConnectptr.p->apiConnectstate == CS_CONNECTED ||
|
||||
(apiConnectptr.p->apiConnectstate == CS_ABORTING &&
|
||||
apiConnectptr.p->abortState == AS_IDLE)){
|
||||
apiConnectptr.p->abortState == AS_IDLE) ||
|
||||
(apiConnectptr.p->apiConnectstate == CS_STARTED &&
|
||||
apiConnectptr.p->firstTcConnect == RNIL))
|
||||
{
|
||||
jam(); /* JUST REPLY OK */
|
||||
releaseApiCon(signal, apiConnectptr.i);
|
||||
signal->theData[0] = tuserpointer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user