diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-03-14 17:49:35 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-03-15 09:39:27 -0400 |
commit | 643ef6752b12a9831cfd5e75e0795c3529b12389 (patch) | |
tree | 315816264eaf1a08bce7796d5c1e06b2d14f92e4 /src/mongo/db/query/count_request.h | |
parent | 03918a5cd5314421c72a4aa83b35fff4951c4789 (diff) | |
download | mongo-643ef6752b12a9831cfd5e75e0795c3529b12389.tar.gz |
SERVER-23136 Count command should return InvalidNamespace instead of BadValue
Diffstat (limited to 'src/mongo/db/query/count_request.h')
-rw-r--r-- | src/mongo/db/query/count_request.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/count_request.h b/src/mongo/db/query/count_request.h index 781b06dd91f..5ea4c1b08d7 100644 --- a/src/mongo/db/query/count_request.h +++ b/src/mongo/db/query/count_request.h @@ -48,7 +48,7 @@ public: /** * Construct an empty request. */ - CountRequest(const std::string& fullNs, BSONObj query); + CountRequest(NamespaceString nss, BSONObj query); const NamespaceString& getNs() const { return _nss; |