diff options
author | Eliot Horowitz <eliot@10gen.com> | 2014-07-10 12:06:12 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2014-07-14 21:19:16 -0400 |
commit | f8b4e1287bd3b246f6a80f4308b44cb094b76aa6 (patch) | |
tree | 16b96c65a4835923cd89e87e70370277e7ee570b /src/mongo/db/commands | |
parent | df27bbcf24db28fa68bfd264f0d3883c0e33320e (diff) | |
download | mongo-f8b4e1287bd3b246f6a80f4308b44cb094b76aa6.tar.gz |
SERVER-2442: clean up listCollections
Diffstat (limited to 'src/mongo/db/commands')
-rw-r--r-- | src/mongo/db/commands/list_databases.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/list_databases.cpp b/src/mongo/db/commands/list_databases.cpp index 725b8e45bf5..de1d13eddae 100644 --- a/src/mongo/db/commands/list_databases.cpp +++ b/src/mongo/db/commands/list_databases.cpp @@ -78,7 +78,7 @@ namespace mongo { totalSize += size; { - Client::ReadContext rc(txn, *i + ".system.namespaces"); + Client::ReadContext rc(txn, *i ); b.appendBool( "empty", rc.ctx().db()->getDatabaseCatalogEntry()->isEmpty() ); } |