summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/mr.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2014-05-28 13:49:34 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2014-06-02 22:52:46 -0400
commit8c9fcc939f9f1a2b593e606bd790cc87efd4064f (patch)
treebeaa313f3e53cf72ca76aa5392946b97736ea6b3 /src/mongo/db/commands/mr.h
parent4add46aa8dd05a5c6d8af2c798eef6e9b5e4164b (diff)
downloadmongo-8c9fcc939f9f1a2b593e606bd790cc87efd4064f.tar.gz
SERVER-13961 Start using LockState from the OperationContext
Diffstat (limited to 'src/mongo/db/commands/mr.h')
-rw-r--r--src/mongo/db/commands/mr.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/commands/mr.h b/src/mongo/db/commands/mr.h
index 04d3c6b70d7..06e1bcb66f4 100644
--- a/src/mongo/db/commands/mr.h
+++ b/src/mongo/db/commands/mr.h
@@ -296,8 +296,10 @@ namespace mongo {
/**
@return number objects in collection
*/
- long long postProcessCollection( CurOp* op , ProgressMeterHolder& pm );
- long long postProcessCollectionNonAtomic( CurOp* op , ProgressMeterHolder& pm );
+ long long postProcessCollection(
+ OperationContext* txn, CurOp* op, ProgressMeterHolder& pm);
+ long long postProcessCollectionNonAtomic(
+ OperationContext* txn, CurOp* op, ProgressMeterHolder& pm);
/**
* if INMEMORY will append