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
6180aada
Commit
6180aada
authored
Sep 19, 2006
by
lzhou/root@dev3-138.dev.cn.tlan
Browse files
Options
Browse Files
Download
Plain Diff
Merge dev3-138.dev.cn.tlan:/home/zhl/mysql/mysql-5.0/bug21799
into dev3-138.dev.cn.tlan:/home/zhl/mysql/mysql-5.1/bug21799
parents
98941f7f
99395d5d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
storage/ndb/src/ndbapi/NdbScanOperation.cpp
storage/ndb/src/ndbapi/NdbScanOperation.cpp
+7
-1
No files found.
storage/ndb/src/ndbapi/NdbScanOperation.cpp
View file @
6180aada
...
...
@@ -525,6 +525,8 @@ int NdbScanOperation::nextResultImpl(bool fetchAllowed, bool forceSend)
int
ret_code
=
poll_guard
.
wait_scan
(
3
*
timeout
,
nodeId
,
forceSend
);
if
(
ret_code
==
0
&&
seq
==
tp
->
getNodeSequence
(
nodeId
))
{
continue
;
}
else
if
(
return_code
==
-
1
){
retVal
=
-
1
;
}
else
{
idx
=
last
;
retVal
=
-
2
;
//return_code;
...
...
@@ -1436,7 +1438,11 @@ NdbIndexScanOperation::next_result_ordered(bool fetchAllowed,
continue
;
}
if
(
DEBUG_NEXT_RESULT
)
ndbout_c
(
"return -1"
);
if
(
return_code
==
-
1
){
setErrorCode
(
4008
);
}
else
{
setErrorCode
(
4028
);
}
return
-
1
;
}
...
...
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