summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/index_catalog_impl.h
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2019-02-20 15:11:42 -0500
committerDianna Hohensee <dianna.hohensee@10gen.com>2019-02-21 11:31:21 -0500
commit6d56e6da95f9aa3792f5b234edb6c9117be3663f (patch)
tree9aaec331b8cae5aef5fcd2c2a8a92f35b619faf1 /src/mongo/db/catalog/index_catalog_impl.h
parent0b3f71118098d3613a02a6728202a27b8f3345e0 (diff)
downloadmongo-6d56e6da95f9aa3792f5b234edb6c9117be3663f.tar.gz
SERVER-39703 Pull opCtx ptr out of the TemporaryKVRecordStore and instead pass it as a function parameter
Diffstat (limited to 'src/mongo/db/catalog/index_catalog_impl.h')
-rw-r--r--src/mongo/db/catalog/index_catalog_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/index_catalog_impl.h b/src/mongo/db/catalog/index_catalog_impl.h
index 943395c1df6..933bab58b62 100644
--- a/src/mongo/db/catalog/index_catalog_impl.h
+++ b/src/mongo/db/catalog/index_catalog_impl.h
@@ -252,6 +252,11 @@ public:
~IndexBuildBlock();
/**
+ * Being called in a 'WriteUnitOfWork' has no effect.
+ */
+ void deleteTemporaryTables(OperationContext* opCtx);
+
+ /**
* Must be called from within a `WriteUnitOfWork`
*/
Status init(OperationContext* opCtx, Collection* collection);