summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbdirectclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/dbdirectclient.cpp')
-rw-r--r--src/mongo/db/dbdirectclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/dbdirectclient.cpp b/src/mongo/db/dbdirectclient.cpp
index 90d511716c8..5b1499da351 100644
--- a/src/mongo/db/dbdirectclient.cpp
+++ b/src/mongo/db/dbdirectclient.cpp
@@ -164,7 +164,7 @@ unsigned long long DBDirectClient::count(
std::string errmsg;
BSONObjBuilder result;
- bool runRetval = countCmd->run(_opCtx, dbname, cmdObj, options, errmsg, result);
+ bool runRetval = countCmd->run(_opCtx, dbname, cmdObj, errmsg, result);
if (!runRetval) {
Command::appendCommandStatus(result, runRetval, errmsg);
Status commandStatus = getStatusFromCommandResult(result.obj());