diff options
-rw-r--r-- | db/cloner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/cloner.cpp b/db/cloner.cpp index a4ac890da94..11aa021fb3e 100644 --- a/db/cloner.cpp +++ b/db/cloner.cpp @@ -216,7 +216,7 @@ namespace mongo { if( strstr(from_name, ".system.") ) { /* system.users is cloned -- but nothing else from system. */ - if( strstr(from_name, ".system.users") == 0 ){ + if( legalClientSystemNS( from_name , true ) == 0 ){ log(2) << "\t\t not cloning because system collection" << endl; continue; } |