summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/index_create.h
diff options
context:
space:
mode:
authorHari Khalsa <hkhalsa@10gen.com>2014-05-15 13:26:48 -0400
committerHari Khalsa <hkhalsa@10gen.com>2014-05-15 13:56:05 -0400
commit4de88387eec6c0bb08b10d0ba1574a656f56232d (patch)
tree7fdc9a0acd251b5b8b0a8f3de45ce1c2ecf7e94c /src/mongo/db/catalog/index_create.h
parent71cbb04eb8262b0bdf255056f26101466c11b43d (diff)
downloadmongo-4de88387eec6c0bb08b10d0ba1574a656f56232d.tar.gz
SERVER-13641 rename TransactionExperiment to OperationContext
Diffstat (limited to 'src/mongo/db/catalog/index_create.h')
-rw-r--r--src/mongo/db/catalog/index_create.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/catalog/index_create.h b/src/mongo/db/catalog/index_create.h
index bc2681465d8..0bfd413c935 100644
--- a/src/mongo/db/catalog/index_create.h
+++ b/src/mongo/db/catalog/index_create.h
@@ -43,12 +43,12 @@ namespace mongo {
class BSONObj;
class Collection;
class IndexCatalogEntry;
- class TransactionExperiment;
+ class OperationContext;
// Build an index in the foreground
// If background is false, uses fast index builder
// If background is true, uses background index builder; blocks until done.
- void buildAnIndex( TransactionExperiment* txn,
+ void buildAnIndex( OperationContext* txn,
Collection* collection,
IndexCatalogEntry* btreeState,
bool mayInterrupt );
@@ -56,7 +56,7 @@ namespace mongo {
class MultiIndexBlock {
MONGO_DISALLOW_COPYING( MultiIndexBlock );
public:
- MultiIndexBlock(TransactionExperiment* txn,
+ MultiIndexBlock(OperationContext* txn,
Collection* collection );
~MultiIndexBlock();
@@ -86,7 +86,7 @@ namespace mongo {
std::vector<IndexState> _states;
// Not owned here, must outlive 'this'
- TransactionExperiment* _txn;
+ OperationContext* _txn;
};
} // namespace mongo