Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
e49de251
Commit
e49de251
authored
Jan 20, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug#8010 - ndb
release connections when last op was simple read
parent
8f0cdf54
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
+4
-1
No files found.
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
View file @
e49de251
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment