diff options
Diffstat (limited to 'src/mongo/db/instance.cpp')
-rw-r--r-- | src/mongo/db/instance.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/instance.cpp b/src/mongo/db/instance.cpp index 3e837b801a9..d3cac033950 100644 --- a/src/mongo/db/instance.cpp +++ b/src/mongo/db/instance.cpp @@ -915,7 +915,9 @@ bool receivedGetMore(OperationContext* txn, DbResponse& dbresponse, Message& m, try { const NamespaceString nsString(ns); - uassert(16258, str::stream() << "Invalid ns [" << ns << "]", nsString.isValid()); + uassert(ErrorCodes::InvalidNamespace, + str::stream() << "Invalid ns [" << ns << "]", + nsString.isValid()); Status status = AuthorizationSession::get(txn->getClient()) ->checkAuthForGetMore(nsString, cursorid, false); |