summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/query_stage_update.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/dbtests/query_stage_update.cpp')
-rw-r--r--src/mongo/dbtests/query_stage_update.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/query_stage_update.cpp b/src/mongo/dbtests/query_stage_update.cpp
index c0dc47528e4..d83b8479033 100644
--- a/src/mongo/dbtests/query_stage_update.cpp
+++ b/src/mongo/dbtests/query_stage_update.cpp
@@ -94,7 +94,7 @@ public:
}
size_t count(const BSONObj& query) {
- return _client.count(nss.ns(), query, 0, 0, 0);
+ return _client.count(nss, query, 0, 0, 0);
}
unique_ptr<CanonicalQuery> canonicalize(const BSONObj& query) {