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
0b15127e
Commit
0b15127e
authored
Aug 24, 2004
by
mronstrom@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed some error codes since the errors are hard errors which
need ndbrequire instead.
parent
9439f014
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
12 deletions
+2
-12
ndb/include/kernel/signaldata/TupFrag.hpp
ndb/include/kernel/signaldata/TupFrag.hpp
+0
-2
ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp
ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp
+2
-10
No files found.
ndb/include/kernel/signaldata/TupFrag.hpp
View file @
0b15127e
...
...
@@ -105,8 +105,6 @@ public:
enum
ErrorCode
{
NoError
=
0
,
InvalidRequest
=
800
,
NoFreeFragmentOper
=
830
,
NoFreeIndexFragment
=
852
,
NoFreeFragment
=
604
,
NoFreeAttributes
=
827
};
...
...
ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp
View file @
0b15127e
...
...
@@ -53,11 +53,7 @@ Dbtux::execTUXFRAGREQ(Signal* signal)
}
// get new operation record
c_fragOpPool
.
seize
(
fragOpPtr
);
if
(
fragOpPtr
.
i
==
RNIL
)
{
jam
();
errorCode
=
TuxFragRef
::
NoFreeFragmentOper
;
break
;
}
ndbrequire
(
fragOpPtr
.
i
!=
RNIL
);
new
(
fragOpPtr
.
p
)
FragOp
();
fragOpPtr
.
p
->
m_userPtr
=
req
->
userPtr
;
fragOpPtr
.
p
->
m_userRef
=
req
->
userRef
;
...
...
@@ -66,11 +62,7 @@ Dbtux::execTUXFRAGREQ(Signal* signal)
fragOpPtr
.
p
->
m_fragNo
=
indexPtr
.
p
->
m_numFrags
;
fragOpPtr
.
p
->
m_numAttrsRecvd
=
0
;
// check if index has place for more fragments
if
(
indexPtr
.
p
->
m_numFrags
==
MaxIndexFragments
)
{
jam
();
errorCode
=
TuxFragRef
::
NoFreeIndexFragment
;
break
;
}
ndbrequire
(
indexPtr
.
p
->
m_numFrags
<
MaxIndexFragments
);
// seize new fragment record
FragPtr
fragPtr
;
c_fragPool
.
seize
(
fragPtr
);
...
...
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