diff options
Diffstat (limited to 'db/repl.h')
-rw-r--r-- | db/repl.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -205,7 +205,10 @@ namespace mongo { public: MemIds() : size_() {} friend class IdTracker; - void reset() { imp_.clear(); } + void reset() { + imp_.clear(); + size_ = 0; + } bool get( const char *ns, const BSONObj &id ) { return imp_[ ns ].count( id ); } void set( const char *ns, const BSONObj &id, bool val ) { if ( val ) { |