Remove unused function from RdbTree

This commit is contained in:
Ai Lin Chia
2017-03-21 14:19:02 +01:00
parent d0458f61ac
commit 145c0ddbc5
2 changed files with 0 additions and 18 deletions

@ -2774,10 +2774,6 @@ int32_t RdbTree::getNumPositiveKeys( collnum_t collnum ) const {
return cr->m_numPosKeysInTree[(unsigned char)m_rdbId];
}
int32_t RdbTree::getNumTotalKeys(collnum_t collnum) const {
return getNumPositiveKeys(collnum) + getNumNegativeKeys(collnum);
}
void RdbTree::setNumKeys ( CollectionRec *cr ) {
if ( ! cr ) return;

@ -187,7 +187,6 @@ public:
int32_t getNumNegativeKeys( collnum_t collnum ) const;
int32_t getNumPositiveKeys( collnum_t collnum ) const;
int32_t getNumTotalKeys(collnum_t collnum) const;
void setNumKeys ( class CollectionRec *cr ) ;
@ -228,19 +227,6 @@ public:
int32_t *numNegRecs , // = NULL
bool useHalfKeys) const;
bool getList ( collnum_t collnum ,
const key96_t &startKey ,
const key96_t &endKey ,
int32_t minRecSizes ,
RdbList *list ,
int32_t *numPosRecs ,
int32_t *numNegRecs , // = NULL
bool useHalfKeys ) const {
return getList(collnum,(const char *)&startKey,(const char *)&endKey,
minRecSizes,list,numPosRecs,numNegRecs,
useHalfKeys);
}
// estimate the size of the list defined by these keys
int32_t getListSize ( collnum_t collnum ,
const char *startKey, const char *endKey,