mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-15 02:36:08 -04:00
Remove unused function from RdbTree
This commit is contained in:
@ -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;
|
||||
|
14
RdbTree.h
14
RdbTree.h
@ -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,
|
||||
|
Reference in New Issue
Block a user