summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorDavid Storch <david.storch@mongodb.com>2022-06-03 15:45:16 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-06-03 16:36:20 +0000
commit7f8bbabce8765ad9055745963241fe9d7ae2c0a1 (patch)
treef6429ec7fc3e85c6b82e2f1954f7ed04b36bb749 /src/mongo
parent4bb98c9d59902bd91fe53f144eba0457c09ac9c3 (diff)
downloadmongo-7f8bbabce8765ad9055745963241fe9d7ae2c0a1.tar.gz
SERVER-66047 Fix the shell's exhaust impl to work with limit
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/client/dbclient_cursor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/client/dbclient_cursor.cpp b/src/mongo/client/dbclient_cursor.cpp
index bdb299fc040..735c8a28d00 100644
--- a/src/mongo/client/dbclient_cursor.cpp
+++ b/src/mongo/client/dbclient_cursor.cpp
@@ -444,7 +444,6 @@ void DBClientCursor::requestMore() {
void DBClientCursor::exhaustReceiveMore() {
verify(_cursorId);
verify(_batch.pos == _batch.objs.size());
- uassert(40675, "Cannot have limit for exhaust query", _limit == 0);
Message response;
verify(_client);
uassertStatusOK(