diff options
author | unknown <joreland@mysql.com> | 2004-10-31 22:21:51 +0100 |
---|---|---|
committer | unknown <joreland@mysql.com> | 2004-10-31 22:21:51 +0100 |
commit | 397a2a17bcfb3eca700eab2c8bb8457d268ea25c (patch) | |
tree | 460813cb1c0c571fe5b464b1e93319f07bf21f96 /ndb/src/common/debugger | |
parent | bc26963aa132e41ed349fccd8307e1b3ff556215 (diff) | |
download | mariadb-git-397a2a17bcfb3eca700eab2c8bb8457d268ea25c.tar.gz |
wl1540, 1802
Index scan/lookup (only scan specific fragment)
ndb/include/kernel/signaldata/TcIndx.hpp:
Removed TxIndxReq
ndb/include/ndbapi/NdbDictionary.hpp:
Removed
1) Tuple key
2) Distribution group
3) index only storage
ndb/include/ndbapi/NdbOperation.hpp:
Removed
1) Tuple key
2) Distribution group
3) index only storage
ndb/include/util/md5_hash.hpp:
Added possibility to get all 4 32-bit hash values
ndb/src/common/debugger/signaldata/SignalDataPrint.cpp:
Removed TxIndxReq
ndb/src/common/debugger/signaldata/TcIndx.cpp:
Removed TxIndxReq
ndb/src/common/util/md5_hash.cpp:
Added possibility to get all 4 32-bit hash values
ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
removed fragbits from hash value
ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
removed unused frag offset (k+fragbits)
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
removed unused frag offset (k+fragbits)
ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
Removed TxIndxReq
Removed distribution group
Added possibility for API to set fragment hash value
Split hashvalue into 2 32bit words
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
Removed TxIndxReq
Removed distribution group
Added possibility for API to set fragment hash value
Split hashvalue into 2 32bit words
ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
removed unused frag offset (k+fragbits)
ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp:
removed unused frag offset (k+fragbits)
ndb/src/ndbapi/NdbApiSignal.cpp:
Removed TxIndxReq
ndb/src/ndbapi/NdbDictionary.cpp:
Removed
1) Tuple key
2) Distribution group
3) index only storage
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
Removed
1) Tuple key
2) Distribution group
3) index only storage
ndb/src/ndbapi/NdbDictionaryImpl.hpp:
Removed
1) Tuple key
2) Distribution group
3) index only storage
ndb/src/ndbapi/NdbIndexOperation.cpp:
Removed TxIndxReq
ndb/src/ndbapi/NdbOperation.cpp:
Removed
1) Tuple key
2) Distribution group
3) index only storage
ndb/src/ndbapi/NdbOperationDefine.cpp:
Removed
1) Tuple key
2) Distribution group
3) index only storage
ndb/src/ndbapi/NdbOperationExec.cpp:
Removed
1) Tuple key
2) Distribution group
3) index only storage
ndb/src/ndbapi/NdbOperationSearch.cpp:
Removed
1) Tuple key
2) Distribution group
3) index only storage
ndb/test/src/HugoOperations.cpp:
Removed
1) Tuple key
2) Distribution group
3) index only storage
ndb/test/src/NdbSchemaOp.cpp:
Removed
1) Tuple key
2) Distribution group
3) index only storage
Diffstat (limited to 'ndb/src/common/debugger')
-rw-r--r-- | ndb/src/common/debugger/signaldata/SignalDataPrint.cpp | 4 | ||||
-rw-r--r-- | ndb/src/common/debugger/signaldata/TcIndx.cpp | 85 |
2 files changed, 0 insertions, 89 deletions
diff --git a/ndb/src/common/debugger/signaldata/SignalDataPrint.cpp b/ndb/src/common/debugger/signaldata/SignalDataPrint.cpp index 3314f0bd097..8be576aa735 100644 --- a/ndb/src/common/debugger/signaldata/SignalDataPrint.cpp +++ b/ndb/src/common/debugger/signaldata/SignalDataPrint.cpp @@ -138,14 +138,10 @@ SignalDataPrintFunctions[] = { { GSN_ALTER_INDX_REQ, printALTER_INDX_REQ }, { GSN_ALTER_INDX_CONF, printALTER_INDX_CONF }, { GSN_ALTER_INDX_REF, printALTER_INDX_REF }, - { GSN_TCINDXREQ, printTCINDXREQ }, { GSN_TCINDXCONF, printTCINDXCONF }, { GSN_TCINDXREF, printTCINDXREF }, { GSN_INDXKEYINFO, printINDXKEYINFO }, { GSN_INDXATTRINFO, printINDXATTRINFO }, - //{ GSN_TCINDXNEXTREQ, printTCINDXNEXTREQ }, - //{ GSN_TCINDEXNEXTCONF, printTCINDEXNEXTCONF }, - //{ GSN_TCINDEXNEXREF, printTCINDEXNEXREF }, { GSN_FSAPPENDREQ, printFSAPPENDREQ }, { GSN_BACKUP_REQ, printBACKUP_REQ }, { GSN_BACKUP_DATA, printBACKUP_DATA }, diff --git a/ndb/src/common/debugger/signaldata/TcIndx.cpp b/ndb/src/common/debugger/signaldata/TcIndx.cpp index 6bfa29eff15..b0578f5b646 100644 --- a/ndb/src/common/debugger/signaldata/TcIndx.cpp +++ b/ndb/src/common/debugger/signaldata/TcIndx.cpp @@ -18,91 +18,6 @@ #include <signaldata/TcKeyReq.hpp> #include <BlockNumbers.h> -bool -printTCINDXREQ(FILE * output, const Uint32 * theData, Uint32 len, Uint16 receiverBlockNo){ - - const TcIndxReq * const sig = (TcIndxReq *) theData; - - UintR requestInfo = sig->requestInfo; - UintR scanInfo = sig->scanInfo; - - fprintf(output, " apiConnectPtr: H\'%.8x, senderData: H\'%.8x\n", - sig->apiConnectPtr, sig->senderData); - - fprintf(output, " Operation: %s, Flags: ", - sig->getOperationType(requestInfo) == ZREAD ? "Read" : - sig->getOperationType(requestInfo) == ZREAD_EX ? "Read-Ex" : - sig->getOperationType(requestInfo) == ZUPDATE ? "Update" : - sig->getOperationType(requestInfo) == ZINSERT ? "Insert" : - sig->getOperationType(requestInfo) == ZDELETE ? "Delete" : - sig->getOperationType(requestInfo) == ZWRITE ? "Write" : - "Unknown"); - - { - if(sig->getDirtyFlag(requestInfo)){ - fprintf(output, "Dirty "); - } - if(sig->getStartFlag(requestInfo)){ - fprintf(output, "Start "); - } - if (TcKeyReq::getExecuteFlag(sig->requestInfo)) { - fprintf(output, "Execute "); - } - if(sig->getCommitFlag(requestInfo)){ - fprintf(output, "Commit, Type = "); - UintR TcommitType = sig->getCommitType(requestInfo); - if (TcommitType == TcIndxReq::CommitIfFailFree) { - fprintf(output, "FailFree "); - } else if (TcommitType == TcIndxReq::TryCommit) { - fprintf(output, "TryCommit "); - } else if (TcommitType == TcIndxReq::CommitAsMuchAsPossible) { - fprintf(output, "Always "); - }//if - } - if(sig->getSimpleFlag(requestInfo)){ - fprintf(output, "Simple "); - } - if(sig->getInterpretedFlag(requestInfo)){ - fprintf(output, "Interpreted "); - } - if(sig->getDistributionGroupFlag(requestInfo)){ - fprintf(output, "DGroup = %d ", sig->distrGroupHashValue); - } - if(sig->getDistributionKeyFlag(sig->requestInfo)){ - fprintf(output, "DKey = %d ", sig->distributionKeySize); - } - fprintf(output, "\n"); - } - - const int indexLen = sig->getIndexLength(requestInfo); - const int attrInThis = sig->getAIInTcIndxReq(requestInfo); - fprintf(output, - " indexLen: %d, attrLen: %d, AI in this: %d, indexId: %d, " - "indexSchemaVer: %d, API Ver: %d\n", - indexLen, sig->attrLen, attrInThis, - sig->indexId, sig->indexSchemaVersion, sig->getAPIVersion(scanInfo)); - - fprintf(output, " transId(1, 2): (H\'%.8x, H\'%.8x)\n -- Variable Data --\n", - sig->transId1, sig->transId2); - - Uint32 restLen = (len - 8); - const Uint32 * rest = &sig->scanInfo; - while(restLen >= 7){ - fprintf(output, - " H\'%.8x H\'%.8x H\'%.8x H\'%.8x H\'%.8x H\'%.8x H\'%.8x\n", - rest[0], rest[1], rest[2], rest[3], - rest[4], rest[5], rest[6]); - restLen -= 7; - rest += 7; - } - if(restLen > 0){ - for(Uint32 i = 0; i<restLen; i++) - fprintf(output, " H\'%.8x", rest[i]); - fprintf(output, "\n"); - } - - return true; -} bool printTCINDXCONF(FILE * output, const Uint32 * theData, Uint32 len, Uint16 receiverBlockNo){ |