summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/list_databases.cpp
diff options
context:
space:
mode:
authorJustin Seyster <justin.seyster@mongodb.com>2019-04-25 18:54:37 -0400
committerJustin Seyster <justin.seyster@mongodb.com>2019-04-25 18:57:02 -0400
commitbf40065c01769683000310fedcd4b8c729c4fdb2 (patch)
tree1ee9f47542ca6e665008e8911e171e3c83f526f6 /src/mongo/db/commands/list_databases.cpp
parent0de05f9433c7dc1092547ff264bdff32e17fc001 (diff)
downloadmongo-bf40065c01769683000310fedcd4b8c729c4fdb2.tar.gz
Revert "SERVER-39520 Use database IX lock for dropCollection"
This reverts commit 3a8c33cd95abaa7455b2c01726bdbf413cc938e5.
Diffstat (limited to 'src/mongo/db/commands/list_databases.cpp')
-rw-r--r--src/mongo/db/commands/list_databases.cpp2
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 dccec13a8b6..46d3ab65fa8 100644
--- a/src/mongo/db/commands/list_databases.cpp
+++ b/src/mongo/db/commands/list_databases.cpp
@@ -170,7 +170,7 @@ public:
b.append("sizeOnDisk", static_cast<double>(size));
b.appendBool("empty",
- UUIDCatalog::get(opCtx).getAllCollectionUUIDsFromDb(dbname).empty());
+ UUIDCatalog::get(opCtx).getAllCatalogEntriesFromDb(dbname).empty());
}
BSONObj curDbObj = b.obj();