summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/update.h
diff options
context:
space:
mode:
authorJason Rassi <rassi@10gen.com>2014-10-20 17:08:55 -0400
committerJason Rassi <rassi@10gen.com>2014-11-20 12:52:25 -0500
commit429dc5819eb37e21d9e5c4573aae8421efd50ed7 (patch)
treee64019b8d4fd795cac5a778df79a0983bb34bcf7 /src/mongo/db/ops/update.h
parent1b204eba0dc80f4007cb88b995b761a8bc0987fc (diff)
downloadmongo-429dc5819eb37e21d9e5c4573aae8421efd50ed7.tar.gz
SERVER-15675 Remove OperationContext from UpdateRequest/DeleteRequest
The write execution machinery should have a handle to the operation context, not the write request structs.
Diffstat (limited to 'src/mongo/db/ops/update.h')
-rw-r--r--src/mongo/db/ops/update.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/ops/update.h b/src/mongo/db/ops/update.h
index 801c058a763..c4c5e71edff 100644
--- a/src/mongo/db/ops/update.h
+++ b/src/mongo/db/ops/update.h
@@ -47,7 +47,8 @@ namespace mongo {
*
* Caller must hold the appropriate database locks.
*/
- UpdateResult update(Database* db,
+ UpdateResult update(OperationContext* txn,
+ Database* db,
const UpdateRequest& request,
OpDebug* opDebug);