diff options
Diffstat (limited to 'db/namespace.h')
-rw-r--r-- | db/namespace.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/db/namespace.h b/db/namespace.h index bcc56cb7ef2..4a207f4a557 100644 --- a/db/namespace.h +++ b/db/namespace.h @@ -379,6 +379,9 @@ namespace mongo { void checkMigrate(); + long long storageSize(); + + private: bool cappedMayDelete() const { return !( flags & Flag_CappedDisallowDelete ); |