diff options
Diffstat (limited to 'src/mongo/s/query/cluster_find.h')
-rw-r--r-- | src/mongo/s/query/cluster_find.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/query/cluster_find.h b/src/mongo/s/query/cluster_find.h index 22d7ad89b04..5a011d27958 100644 --- a/src/mongo/s/query/cluster_find.h +++ b/src/mongo/s/query/cluster_find.h @@ -66,7 +66,7 @@ public: * If a CommandOnShardedViewNotSupportedOnMongod error is returned, then 'viewDefinition', if * not null, will contain a view definition. */ - static StatusWith<CursorId> runQuery(OperationContext* txn, + static StatusWith<CursorId> runQuery(OperationContext* opCtx, const CanonicalQuery& query, const ReadPreferenceSetting& readPref, std::vector<BSONObj>* results, @@ -75,7 +75,7 @@ public: /** * Executes the getMore request 'request', and on success returns a CursorResponse. */ - static StatusWith<CursorResponse> runGetMore(OperationContext* txn, + static StatusWith<CursorResponse> runGetMore(OperationContext* opCtx, const GetMoreRequest& request); /** |