diff options
author | Matthew Russotto <matthew.russotto@10gen.com> | 2018-08-14 13:38:17 -0400 |
---|---|---|
committer | Matthew Russotto <matthew.russotto@10gen.com> | 2018-08-14 13:38:17 -0400 |
commit | 41005a73c8534953c4627b2a9d82a776e4276f1f (patch) | |
tree | a77a2466ab4d7ccc418880c44e0ba7ecca6f2ef0 /src/mongo/dbtests/dbhelper_tests.cpp | |
parent | 63c586c5571176a5a68d7d18e836e38e0a905211 (diff) | |
download | mongo-41005a73c8534953c4627b2a9d82a776e4276f1f.tar.gz |
SERVER-36094 Make DBClientBase::query() take an NamespaceStringOrUUID
Diffstat (limited to 'src/mongo/dbtests/dbhelper_tests.cpp')
-rw-r--r-- | src/mongo/dbtests/dbhelper_tests.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/dbtests/dbhelper_tests.cpp b/src/mongo/dbtests/dbhelper_tests.cpp index 975a446894a..959b62db3e3 100644 --- a/src/mongo/dbtests/dbhelper_tests.cpp +++ b/src/mongo/dbtests/dbhelper_tests.cpp @@ -75,7 +75,8 @@ private: BSONArray docs(OperationContext* opCtx) const { DBDirectClient client(opCtx); - unique_ptr<DBClientCursor> cursor = client.query(ns, Query().hint(BSON("_id" << 1))); + unique_ptr<DBClientCursor> cursor = + client.query(NamespaceString(ns), Query().hint(BSON("_id" << 1))); BSONArrayBuilder bab; while (cursor->more()) { bab << cursor->next(); |