Remove unused RdbBuckets::getNumKeys_unlocked

This commit is contained in:
Ai Lin Chia
2017-06-07 16:49:17 +02:00
parent 12fa7d8855
commit e85847f303
2 changed files with 0 additions and 7 deletions

@ -1449,12 +1449,6 @@ int32_t RdbBuckets::getNumKeys() const {
return m_numKeysApprox;
}
int32_t RdbBuckets::getNumKeys_unlocked() const {
m_rwlock.verify_is_locked();
return m_numKeysApprox;
}
int32_t RdbBuckets::getNumNegativeKeys() const {
ScopedReadLock sl(m_rwlock);
return m_numNegKeys;

@ -124,7 +124,6 @@ private:
//syntactic sugar
RdbBucket* bucketFactory_unlocked();
void updateNumRecs_unlocked(int32_t n, int32_t bytes, int32_t numNeg);
int32_t getNumKeys_unlocked() const;
bool fastSave_unlocked();
int64_t fastSaveColl_unlocked(int fd);