mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
bug#8010 - ndb
release connections when last op was simple read
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
bug#8010
release connections when last op was simple read
This commit is contained in:
parent
25d215aa24
commit
877ed48b3d
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue