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
b0d64c68
Commit
b0d64c68
authored
Aug 24, 2004
by
unknown
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
48c16480
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 @
b0d64c68
...
@@ -105,8 +105,6 @@ public:
...
@@ -105,8 +105,6 @@ public:
enum
ErrorCode
{
enum
ErrorCode
{
NoError
=
0
,
NoError
=
0
,
InvalidRequest
=
800
,
InvalidRequest
=
800
,
NoFreeFragmentOper
=
830
,
NoFreeIndexFragment
=
852
,
NoFreeFragment
=
604
,
NoFreeFragment
=
604
,
NoFreeAttributes
=
827
NoFreeAttributes
=
827
};
};
...
...
ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp
View file @
b0d64c68
...
@@ -53,11 +53,7 @@ Dbtux::execTUXFRAGREQ(Signal* signal)
...
@@ -53,11 +53,7 @@ Dbtux::execTUXFRAGREQ(Signal* signal)
}
}
// get new operation record
// get new operation record
c_fragOpPool
.
seize
(
fragOpPtr
);
c_fragOpPool
.
seize
(
fragOpPtr
);
if
(
fragOpPtr
.
i
==
RNIL
)
{
ndbrequire
(
fragOpPtr
.
i
!=
RNIL
);
jam
();
errorCode
=
TuxFragRef
::
NoFreeFragmentOper
;
break
;
}
new
(
fragOpPtr
.
p
)
FragOp
();
new
(
fragOpPtr
.
p
)
FragOp
();
fragOpPtr
.
p
->
m_userPtr
=
req
->
userPtr
;
fragOpPtr
.
p
->
m_userPtr
=
req
->
userPtr
;
fragOpPtr
.
p
->
m_userRef
=
req
->
userRef
;
fragOpPtr
.
p
->
m_userRef
=
req
->
userRef
;
...
@@ -66,11 +62,7 @@ Dbtux::execTUXFRAGREQ(Signal* signal)
...
@@ -66,11 +62,7 @@ Dbtux::execTUXFRAGREQ(Signal* signal)
fragOpPtr
.
p
->
m_fragNo
=
indexPtr
.
p
->
m_numFrags
;
fragOpPtr
.
p
->
m_fragNo
=
indexPtr
.
p
->
m_numFrags
;
fragOpPtr
.
p
->
m_numAttrsRecvd
=
0
;
fragOpPtr
.
p
->
m_numAttrsRecvd
=
0
;
// check if index has place for more fragments
// check if index has place for more fragments
if
(
indexPtr
.
p
->
m_numFrags
==
MaxIndexFragments
)
{
ndbrequire
(
indexPtr
.
p
->
m_numFrags
<
MaxIndexFragments
);
jam
();
errorCode
=
TuxFragRef
::
NoFreeIndexFragment
;
break
;
}
// seize new fragment record
// seize new fragment record
FragPtr
fragPtr
;
FragPtr
fragPtr
;
c_fragPool
.
seize
(
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