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
dda17f09
Commit
dda17f09
authored
May 07, 2006
by
jonas@eel.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - dbacc - remove some unused variables
parent
64c8342f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp
storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp
+0
-4
storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
+2
-4
No files found.
storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp
View file @
dda17f09
...
@@ -358,7 +358,6 @@ struct Fragmentrec {
...
@@ -358,7 +358,6 @@ struct Fragmentrec {
// List of lock owners and list of lock waiters to support LCP handling
// List of lock owners and list of lock waiters to support LCP handling
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
Uint32
lockOwnersList
;
Uint32
lockOwnersList
;
Uint32
m_current_sequence_no
;
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// References to Directory Ranges (which in turn references directories, which
// References to Directory Ranges (which in turn references directories, which
...
@@ -502,9 +501,6 @@ struct Operationrec {
...
@@ -502,9 +501,6 @@ struct Operationrec {
Uint32
scanRecPtr
;
Uint32
scanRecPtr
;
Uint32
transId1
;
Uint32
transId1
;
Uint32
transId2
;
Uint32
transId2
;
Uint32
longPagePtr
;
Uint32
longKeyPageIndex
;
Uint32
m_sequence_no
;
State
opState
;
State
opState
;
Uint32
userptr
;
Uint32
userptr
;
State
transactionstate
;
State
transactionstate
;
...
...
storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
View file @
dda17f09
...
@@ -984,8 +984,6 @@ void Dbacc::initOpRec(Signal* signal)
...
@@ -984,8 +984,6 @@ void Dbacc::initOpRec(Signal* signal)
operationRecPtr
.
p
->
insertIsDone
=
ZFALSE
;
operationRecPtr
.
p
->
insertIsDone
=
ZFALSE
;
operationRecPtr
.
p
->
elementIsDisappeared
=
ZFALSE
;
operationRecPtr
.
p
->
elementIsDisappeared
=
ZFALSE
;
operationRecPtr
.
p
->
insertDeleteLen
=
fragrecptr
.
p
->
elementLength
;
operationRecPtr
.
p
->
insertDeleteLen
=
fragrecptr
.
p
->
elementLength
;
operationRecPtr
.
p
->
longPagePtr
=
RNIL
;
operationRecPtr
.
p
->
longKeyPageIndex
=
RNIL
;
operationRecPtr
.
p
->
scanRecPtr
=
RNIL
;
operationRecPtr
.
p
->
scanRecPtr
=
RNIL
;
// bit to mark lock operation
// bit to mark lock operation
...
@@ -1405,7 +1403,7 @@ void Dbacc::placeSerialQueueRead(Signal* signal)
...
@@ -1405,7 +1403,7 @@ void Dbacc::placeSerialQueueRead(Signal* signal)
{
{
readWriteOpPtr
.
i
=
queOperPtr
.
p
->
nextSerialQue
;
readWriteOpPtr
.
i
=
queOperPtr
.
p
->
nextSerialQue
;
ptrCheckGuard
(
readWriteOpPtr
,
coprecsize
,
operationrec
);
ptrCheckGuard
(
readWriteOpPtr
,
coprecsize
,
operationrec
);
PSQR_LOOP:
PSQR_LOOP:
jam
();
jam
();
if
(
readWriteOpPtr
.
p
->
nextSerialQue
==
RNIL
)
{
if
(
readWriteOpPtr
.
p
->
nextSerialQue
==
RNIL
)
{
jam
();
jam
();
...
@@ -1596,7 +1594,7 @@ Uint32 Dbacc::placeWriteInLockQueue(Signal* signal)
...
@@ -1596,7 +1594,7 @@ Uint32 Dbacc::placeWriteInLockQueue(Signal* signal)
void
Dbacc
::
placeSerialQueueWrite
(
Signal
*
signal
)
void
Dbacc
::
placeSerialQueueWrite
(
Signal
*
signal
)
{
{
readWriteOpPtr
=
queOperPtr
;
readWriteOpPtr
=
queOperPtr
;
PSQW_LOOP:
PSQW_LOOP:
if
(
readWriteOpPtr
.
p
->
nextSerialQue
==
RNIL
)
{
if
(
readWriteOpPtr
.
p
->
nextSerialQue
==
RNIL
)
{
jam
();
jam
();
/* --------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------- */
...
...
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