diff options
Diffstat (limited to 'db/cloner.cpp')
-rw-r--r-- | db/cloner.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db/cloner.cpp b/db/cloner.cpp index fe57463a493..ec5ba994493 100644 --- a/db/cloner.cpp +++ b/db/cloner.cpp @@ -624,6 +624,8 @@ namespace mongo { nsToDatabase( target.c_str(), to ); if ( strcmp( from, to ) == 0 ) { renameNamespace( source.c_str(), target.c_str() ); + // make sure we drop counters etc + Top::global.collectionDropped( source ); return true; } } |