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
3c0a885f
Commit
3c0a885f
authored
Apr 13, 2005
by
pekka@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#9865 fix error message
parent
d5646eb6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+2
-2
ndb/src/ndbapi/ndberror.c
ndb/src/ndbapi/ndberror.c
+2
-0
No files found.
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
View file @
3c0a885f
...
...
@@ -7554,13 +7554,13 @@ void Dblqh::execSCAN_FRAGREQ(Signal* signal)
ndbrequire
(
max_rows
>
0
&&
max_rows
<=
MAX_PARALLEL_OP_PER_SCAN
);
if
(
!
getFragmentrec
(
signal
,
fragId
))
{
errorCode
=
__LINE__
;
errorCode
=
1231
;
goto
error_handler
;
}
//if
// Verify scan type vs table type (both sides are boolean)
if
(
rangeScan
!=
DictTabInfo
::
isOrderedIndex
(
fragptr
.
p
->
tableType
))
{
errorCode
=
__LINE__
;
// XXX fix
errorCode
=
1232
;
goto
error_handler
;
}
//if
...
...
ndb/src/ndbapi/ndberror.c
View file @
3c0a885f
...
...
@@ -320,6 +320,8 @@ ErrorBundle ErrorCodes[] = {
{
1226
,
SE
,
"Table is being dropped"
},
{
1228
,
SE
,
"Cannot use drop table for drop index"
},
{
1229
,
SE
,
"Too long frm data supplied"
},
{
1231
,
SE
,
"Invalid table or index to scan"
},
{
1232
,
SE
,
"Invalid table or index to scan"
},
/**
* FunctionNotImplemented
...
...
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