summaryrefslogtreecommitdiff
path: root/src/mongo/db/cap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/cap.cpp')
-rw-r--r--src/mongo/db/cap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/cap.cpp b/src/mongo/db/cap.cpp
index 6309eb6adb9..0cccf39dff2 100644
--- a/src/mongo/db/cap.cpp
+++ b/src/mongo/db/cap.cpp
@@ -433,7 +433,7 @@ namespace mongo {
// Clear all references to this namespace.
ClientCursor::invalidate( ns );
- NamespaceDetailsTransient::clearForPrefix( ns );
+ NamespaceDetailsTransient::resetCollection( ns );
// Get a writeable reference to 'this' and reset all pertinent
// attributes.