From 9bee42b1be57065f6ef963e6aa535a66a39e04f2 Mon Sep 17 00:00:00 2001 From: Matthew Russotto Date: Wed, 16 Oct 2019 15:32:39 +0000 Subject: SERVER-44021 Make type of "count" command in DBClient_Base match server. --- src/mongo/client/dbclient_base.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/mongo/client/dbclient_base.h') diff --git a/src/mongo/client/dbclient_base.h b/src/mongo/client/dbclient_base.h index 194210f8a24..13d0d50cc99 100644 --- a/src/mongo/client/dbclient_base.h +++ b/src/mongo/client/dbclient_base.h @@ -351,11 +351,11 @@ public: /** count number of objects in collection ns that match the query criteria specified throws UserAssertion if database returns an error */ - virtual unsigned long long count(NamespaceStringOrUUID nsOrUuid, - const BSONObj& query = BSONObj(), - int options = 0, - int limit = 0, - int skip = 0); + virtual long long count(NamespaceStringOrUUID nsOrUuid, + const BSONObj& query = BSONObj(), + int options = 0, + int limit = 0, + int skip = 0); static std::string createPasswordDigest(const std::string& username, const std::string& clearTextPassword); -- cgit v1.2.1