diff options
author | Ian Boros <ian.boros@mongodb.com> | 2022-04-05 21:59:50 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-04-07 22:23:42 +0000 |
commit | 5b5b505f0db2e145f40bde4e2ac2d5c56bc0b263 (patch) | |
tree | a0b3e72faf4ba7b5e68ddd93bf8d49ed544804d6 /src/mongo/db/commands/getmore_cmd.cpp | |
parent | 7038719c685f2d858f69717e1939e521e6f2d9c0 (diff) | |
download | mongo-5b5b505f0db2e145f40bde4e2ac2d5c56bc0b263.tar.gz |
SERVER-65270 Fix bug related to queries on large documents not respecting the sort option
Diffstat (limited to 'src/mongo/db/commands/getmore_cmd.cpp')
-rw-r--r-- | src/mongo/db/commands/getmore_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/getmore_cmd.cpp b/src/mongo/db/commands/getmore_cmd.cpp index 9fe8b68b918..b3c00996ec6 100644 --- a/src/mongo/db/commands/getmore_cmd.cpp +++ b/src/mongo/db/commands/getmore_cmd.cpp @@ -388,7 +388,7 @@ public: // If adding this object will cause us to exceed the message size limit, then we // stash it for later. if (!FindCommon::haveSpaceForNext(obj, *numResults, nextBatch->bytesUsed())) { - exec->enqueue(obj); + exec->stashResult(obj); break; } |