Commit 133c2d7b authored by unknown's avatar unknown

ndb - dbacc - remove some unused variables


storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
  remove unused variables
storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
  remove unused variables
parent 2e385bcb
...@@ -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;
......
...@@ -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();
/* --------------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------------- */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment