Below is the list of changes that have just been committed into a local
5.1 repository of jonas. When jonas does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2312 06/05/07 09:42:15 jonas@eel.(none) +2 -0
ndb - dbacc - unused variables
storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
1.66 06/05/07 09:41:38 jonas@eel.(none) +8 -35
more unused variables
storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp
1.30 06/05/07 09:41:37 jonas@eel.(none) +0 -4
more unused variables
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: jonas
# Host: eel.(none)
# Root: /home/jonas/src/51-jonas
--- 1.29/storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp 2006-05-07 08:11:38 +02:00
+++ 1.30/storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp 2006-05-07 09:41:37 +02:00
@@ -477,7 +477,6 @@
/* OPERATIONREC */
/* --------------------------------------------------------------------------------- */
struct Operationrec {
- Uint32 keydata[8];
Uint32 localdata[2];
Uint32 elementIsforward;
Uint32 elementPage;
@@ -487,16 +486,13 @@
Uint32 hashvaluePart;
Uint32 hashValue;
Uint32 insertDeleteLen;
- Uint32 keyinfoPage;
Uint32 nextLockOwnerOp;
Uint32 nextOp;
Uint32 nextParallelQue;
- Uint32 nextQueOp;
Uint32 nextSerialQue;
Uint32 prevOp;
Uint32 prevLockOwnerOp;
Uint32 prevParallelQue;
- Uint32 prevQueOp;
Uint32 prevSerialQue;
Uint32 scanRecPtr;
Uint32 transId1;
--- 1.65/storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp 2006-05-07 08:11:38 +02:00
+++ 1.66/storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp 2006-05-07 09:41:38 +02:00
@@ -974,12 +974,9 @@
operationRecPtr.p->fragptr = fragrecptr.i;
operationRecPtr.p->nextParallelQue = RNIL;
operationRecPtr.p->prevParallelQue = RNIL;
- operationRecPtr.p->prevQueOp = RNIL;
- operationRecPtr.p->nextQueOp = RNIL;
operationRecPtr.p->nextSerialQue = RNIL;
operationRecPtr.p->prevSerialQue = RNIL;
operationRecPtr.p->elementPage = RNIL;
- operationRecPtr.p->keyinfoPage = RNIL;
operationRecPtr.p->lockOwner = ZFALSE;
operationRecPtr.p->insertIsDone = ZFALSE;
operationRecPtr.p->elementIsDisappeared = ZFALSE;
@@ -990,13 +987,6 @@
operationRecPtr.p->isAccLockReq = (Treqinfo >> 31) & 0x1;
// undo log is not run via ACCKEYREQ
- if(ERROR_INSERTED(5900) || ERROR_INSERTED(5901))
- {
- for(unsigned i = 0; i<8 && i<signal->theData[4]; i++){
- operationRecPtr.p->keydata[i] = signal->theData[i+7];
- }
- }
-
}//Dbacc::initOpRec()
/* --------------------------------------------------------------------------------- */
@@ -1640,13 +1630,6 @@
/* ------------------------------------------------------------------------- */
void Dbacc::acckeyref1Lab(Signal* signal, Uint32 result_code)
{
- if (operationRecPtr.p->keyinfoPage != RNIL) {
- jam();
- rpPageptr.i = operationRecPtr.p->keyinfoPage;
- ptrCheckGuard(rpPageptr, cpagesize, page8);
- releasePage(signal);
- operationRecPtr.p->keyinfoPage = RNIL;
- }//if
operationRecPtr.p->transactionstate = WAIT_COMMIT_ABORT;
/* ************************<< */
/* ACCKEYREF */
@@ -4040,12 +4023,9 @@
insOperPtr.p->lockOwner = ZTRUE;
insOperPtr.p->prevLockOwnerOp = RNIL;
tmpOperPtr.i = fragrecptr.p->lockOwnersList;
- const Uint32 seq = fragrecptr.p->m_current_sequence_no;
insOperPtr.p->nextLockOwnerOp = tmpOperPtr.i;
- insOperPtr.p->m_sequence_no = seq;
fragrecptr.p->lockOwnersList = insOperPtr.i;
- fragrecptr.p->m_current_sequence_no = seq+1;
if (tmpOperPtr.i == RNIL) {
return;
} else {
@@ -6014,9 +5994,6 @@
operationRecPtr.p->prevParallelQue = RNIL;
operationRecPtr.p->nextSerialQue = RNIL;
operationRecPtr.p->prevSerialQue = RNIL;
- operationRecPtr.p->prevQueOp = RNIL;
- operationRecPtr.p->nextQueOp = RNIL;
- operationRecPtr.p->keyinfoPage = RNIL; // Safety precaution
operationRecPtr.p->transId1 = scanPtr.p->scanTrid1;
operationRecPtr.p->transId2 = scanPtr.p->scanTrid2;
operationRecPtr.p->lockOwner = ZFALSE;
@@ -6036,7 +6013,6 @@
tisoLocalPtr = tisoLocalPtr + tisoIsforward;
}//for
arrGuard(tisoLocalPtr, 2048);
- operationRecPtr.p->keydata[0] = isoPageptr.p->word32[tisoLocalPtr];
operationRecPtr.p->tupkeylen = fragrecptr.p->keyLength;
operationRecPtr.p->xfrmtupkeylen = 0; // not used
}//Dbacc::initScanOpRec()
@@ -7410,21 +7386,18 @@
infoEvent("fid=%d, fragptr=%d, hashvaluePart=%d ",
tmpOpPtr.p->fid, tmpOpPtr.p->fragptr,
tmpOpPtr.p->hashvaluePart);
- infoEvent("hashValue=%d, insertDeleteLen=%d, keyinfoPage=%d ",
- tmpOpPtr.p->hashValue, tmpOpPtr.p->insertDeleteLen,
- tmpOpPtr.p->keyinfoPage);
+ infoEvent("hashValue=%d, insertDeleteLen=%d",
+ tmpOpPtr.p->hashValue, tmpOpPtr.p->insertDeleteLen);
infoEvent("nextLockOwnerOp=%d, nextOp=%d, nextParallelQue=%d ",
tmpOpPtr.p->nextLockOwnerOp, tmpOpPtr.p->nextOp,
tmpOpPtr.p->nextParallelQue);
- infoEvent("nextQueOp=%d, nextSerialQue=%d, prevOp=%d ",
- tmpOpPtr.p->nextQueOp, tmpOpPtr.p->nextSerialQue,
+ infoEvent("nextSerialQue=%d, prevOp=%d ",
+ tmpOpPtr.p->nextSerialQue,
tmpOpPtr.p->prevOp);
- infoEvent("prevLockOwnerOp=%d, prevParallelQue=%d, prevQueOp=%d ",
- tmpOpPtr.p->prevLockOwnerOp, tmpOpPtr.p->nextParallelQue,
- tmpOpPtr.p->prevQueOp);
- infoEvent("prevSerialQue=%d, scanRecPtr=%d, longPagePtr=%d ",
- tmpOpPtr.p->prevSerialQue, tmpOpPtr.p->scanRecPtr,
- tmpOpPtr.p->longPagePtr);
+ infoEvent("prevLockOwnerOp=%d, prevParallelQue=%d",
+ tmpOpPtr.p->prevLockOwnerOp, tmpOpPtr.p->nextParallelQue);
+ infoEvent("prevSerialQue=%d, scanRecPtr=%d",
+ tmpOpPtr.p->prevSerialQue, tmpOpPtr.p->scanRecPtr);
infoEvent("transactionstate=%d, elementIsDisappeared=%d, insertIsDone=%d ",
tmpOpPtr.p->transactionstate, tmpOpPtr.p->elementIsDisappeared,
tmpOpPtr.p->insertIsDone);
| Thread |
|---|
| • bk commit into 5.1 tree (jonas:1.2312) | jonas | 7 May |