summaryrefslogtreecommitdiff
path: root/db/security.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-10-14 16:57:03 -0400
committerEliot Horowitz <eliot@10gen.com>2009-10-14 16:57:03 -0400
commit409e8b6db4027ca0e56a52a435e493ef25ec8cf9 (patch)
tree25cb6a69aaf722d7906d9a9c9bbdb8925d4fc681 /db/security.cpp
parenta3670180a99654f6f4b84b4edfab670a38804d62 (diff)
downloadmongo-409e8b6db4027ca0e56a52a435e493ef25ec8cf9.tar.gz
setClient
Diffstat (limited to 'db/security.cpp')
-rw-r--r--db/security.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/security.cpp b/db/security.cpp
index ae04a0819f1..8a79863f646 100644
--- a/db/security.cpp
+++ b/db/security.cpp
@@ -45,6 +45,7 @@ namespace mongo {
for ( list<string>::iterator i = _tempCollections.begin(); i!=_tempCollections.end(); i++ ){
string ns = *i;
dblock l;
+ setClient( ns.c_str() );
if ( ! nsdetails( ns.c_str() ) )
continue;
try {