diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2017-02-09 15:08:31 -0500 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2017-02-09 18:19:26 -0500 |
commit | 31e5c31a79b2043d0fa4288c0435fdfce4348343 (patch) | |
tree | 8c02d5cc58ea067dbc5af6722eccdf16707a9b9c /src/mongo/s/query/cluster_client_cursor_mock.h | |
parent | 0e3e4b1dbb3fa475abc29033171e26d194028391 (diff) | |
download | mongo-31e5c31a79b2043d0fa4288c0435fdfce4348343.tar.gz |
SERVER-27965 thread OperationContext* down through ClusterClientCursor's next() and kill() methods
Diffstat (limited to 'src/mongo/s/query/cluster_client_cursor_mock.h')
-rw-r--r-- | src/mongo/s/query/cluster_client_cursor_mock.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/s/query/cluster_client_cursor_mock.h b/src/mongo/s/query/cluster_client_cursor_mock.h index d9e0ba789e3..8820069b0e3 100644 --- a/src/mongo/s/query/cluster_client_cursor_mock.h +++ b/src/mongo/s/query/cluster_client_cursor_mock.h @@ -43,9 +43,9 @@ public: ~ClusterClientCursorMock(); - StatusWith<ClusterQueryResult> next() final; + StatusWith<ClusterQueryResult> next(OperationContext* txn) final; - void kill() final; + void kill(OperationContext* txn) final; bool isTailable() const final; @@ -55,8 +55,6 @@ public: Status setAwaitDataTimeout(Milliseconds awaitDataTimeout) final; - void setOperationContext(OperationContext* txn) final; - /** * Returns true unless marked as having non-exhausted remote cursors via * markRemotesNotExhausted(). |