diff options
author | Maria van Keulen <maria@mongodb.com> | 2017-03-07 12:00:08 -0500 |
---|---|---|
committer | Maria van Keulen <maria@mongodb.com> | 2017-03-07 12:00:08 -0500 |
commit | 589a5c169ced8f6e9ddcd3d182ae1b75db6b7d79 (patch) | |
tree | c7a090ffdd56a91ae677e2492c61b820af44f964 /src/mongo/db/query/internal_plans.h | |
parent | 3cba97198638df3750e3b455e2ad57af7ee536ae (diff) | |
download | mongo-589a5c169ced8f6e9ddcd3d182ae1b75db6b7d79.tar.gz |
SERVER-27938 Rename all OperationContext variables to opCtx
This commit is an automated rename of all whole word instances of txn,
_txn, and txnPtr to opCtx, _opCtx, and opCtxPtr, respectively in all
.cpp and .h files in src/mongo.
Diffstat (limited to 'src/mongo/db/query/internal_plans.h')
-rw-r--r-- | src/mongo/db/query/internal_plans.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/db/query/internal_plans.h b/src/mongo/db/query/internal_plans.h index 40b42f75df1..f9da8e89f70 100644 --- a/src/mongo/db/query/internal_plans.h +++ b/src/mongo/db/query/internal_plans.h @@ -66,7 +66,7 @@ public: /** * Returns a collection scan. Caller owns pointer. */ - static std::unique_ptr<PlanExecutor> collectionScan(OperationContext* txn, + static std::unique_ptr<PlanExecutor> collectionScan(OperationContext* opCtx, StringData ns, Collection* collection, PlanExecutor::YieldPolicy yieldPolicy, @@ -77,7 +77,7 @@ public: * Returns a FETCH => DELETE plan. */ static std::unique_ptr<PlanExecutor> deleteWithCollectionScan( - OperationContext* txn, + OperationContext* opCtx, Collection* collection, const DeleteStageParams& params, PlanExecutor::YieldPolicy yieldPolicy, @@ -87,7 +87,7 @@ public: /** * Returns an index scan. Caller owns returned pointer. */ - static std::unique_ptr<PlanExecutor> indexScan(OperationContext* txn, + static std::unique_ptr<PlanExecutor> indexScan(OperationContext* opCtx, const Collection* collection, const IndexDescriptor* descriptor, const BSONObj& startKey, @@ -100,7 +100,7 @@ public: /** * Returns an IXSCAN => FETCH => DELETE plan. */ - static std::unique_ptr<PlanExecutor> deleteWithIndexScan(OperationContext* txn, + static std::unique_ptr<PlanExecutor> deleteWithIndexScan(OperationContext* opCtx, Collection* collection, const DeleteStageParams& params, const IndexDescriptor* descriptor, @@ -116,7 +116,7 @@ private: * * Used as a helper for collectionScan() and deleteWithCollectionScan(). */ - static std::unique_ptr<PlanStage> _collectionScan(OperationContext* txn, + static std::unique_ptr<PlanStage> _collectionScan(OperationContext* opCtx, WorkingSet* ws, const Collection* collection, Direction direction, @@ -127,7 +127,7 @@ private: * * Used as a helper for indexScan() and deleteWithIndexScan(). */ - static std::unique_ptr<PlanStage> _indexScan(OperationContext* txn, + static std::unique_ptr<PlanStage> _indexScan(OperationContext* opCtx, WorkingSet* ws, const Collection* collection, const IndexDescriptor* descriptor, |