diff options
author | Eliot Horowitz <eliot@10gen.com> | 2014-03-31 11:11:15 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2014-04-03 13:31:49 -0400 |
commit | c50dcd3109d76d85c90e5786d5fe7aec73c4f8de (patch) | |
tree | bacd75f0e397e571800f45ca187f8a2b00d9cc56 /src/mongo/db/structure/record_store_v1_capped.h | |
parent | 5234c5739a3dfbba1a831b6b818b29a1e9ec4f0d (diff) | |
download | mongo-c50dcd3109d76d85c90e5786d5fe7aec73c4f8de.tar.gz |
SERVER-13084: remove NamespaceDetails::emptyCappedCollection and replace with Collection::truncate
Diffstat (limited to 'src/mongo/db/structure/record_store_v1_capped.h')
-rw-r--r-- | src/mongo/db/structure/record_store_v1_capped.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/structure/record_store_v1_capped.h b/src/mongo/db/structure/record_store_v1_capped.h index 5b4e9fc056d..0ce454e6812 100644 --- a/src/mongo/db/structure/record_store_v1_capped.h +++ b/src/mongo/db/structure/record_store_v1_capped.h @@ -49,6 +49,8 @@ namespace mongo { virtual ~CappedRecordStoreV1(); + virtual Status truncate(); + protected: virtual StatusWith<DiskLoc> allocRecord( int lengthWithHeaders, int quotaMax ); |