diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2019-12-20 18:43:14 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-12-20 18:43:14 +0000 |
commit | 3fea6b339770dcdead06803b0c794553c25b94fb (patch) | |
tree | 09f84db37faa08da48957d967ba597fb7207ebaa /src/mongo/db/query/find.h | |
parent | c5bd0178db8f5ea16f7df4e78a52fda56926d0b9 (diff) | |
download | mongo-3fea6b339770dcdead06803b0c794553c25b94fb.tar.gz |
SERVER-44517 Refactor exhaust cursors on top of isMaster code changes
Diffstat (limited to 'src/mongo/db/query/find.h')
-rw-r--r-- | src/mongo/db/query/find.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mongo/db/query/find.h b/src/mongo/db/query/find.h index 0a1e1a15078..2522ae338c5 100644 --- a/src/mongo/db/query/find.h +++ b/src/mongo/db/query/find.h @@ -98,11 +98,8 @@ Message getMore(OperationContext* opCtx, bool* isCursorAuthorized); /** - * Run the query 'q' and place the result in 'result'. + * Run the query 'q' and place the result in 'result'. Returns true if in exhaust mode. */ -std::string runQuery(OperationContext* opCtx, - QueryMessage& q, - const NamespaceString& ns, - Message& result); +bool runQuery(OperationContext* opCtx, QueryMessage& q, const NamespaceString& ns, Message& result); } // namespace mongo |