summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/update.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2014-07-09 04:15:56 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2014-07-18 15:16:15 -0400
commit9066a06214f115c182c2b83ed40e939e05b9c1f8 (patch)
tree4239137f6521f1d1d77ecc3c3be89b6e6779f7f1 /src/mongo/db/ops/update.h
parent3c3d656668e26645492ee3dafb241631352426d4 (diff)
downloadmongo-9066a06214f115c182c2b83ed40e939e05b9c1f8.tar.gz
SERVER-13961 Pass OperationContext into WhereCallbackReal
There are no functional changes in this commit, just preparation for the subsequent one, which will add operation context to the JS execution scope.
Diffstat (limited to 'src/mongo/db/ops/update.h')
-rw-r--r--src/mongo/db/ops/update.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/db/ops/update.h b/src/mongo/db/ops/update.h
index f950fbaf08c..cff79a0d90b 100644
--- a/src/mongo/db/ops/update.h
+++ b/src/mongo/db/ops/update.h
@@ -46,8 +46,7 @@ namespace mongo {
*
* Caller must hold the appropriate database locks.
*/
- UpdateResult update(OperationContext* txn,
- Database* db,
+ UpdateResult update(Database* db,
const UpdateRequest& request,
OpDebug* opDebug);
@@ -59,8 +58,7 @@ namespace mongo {
*
* TODO: Move this into a private method of UpdateExecutor.
*/
- UpdateResult update(OperationContext* txn,
- Database* db,
+ UpdateResult update(Database* db,
const UpdateRequest& request,
OpDebug* opDebug,
UpdateDriver* driver,