summaryrefslogtreecommitdiff
path: root/src/mongo/db/session.h
diff options
context:
space:
mode:
authorNathan Louie <nathan.louie@10gen.com>2018-08-01 23:21:15 -0400
committerNathan Louie <nathan.louie@10gen.com>2018-08-01 23:21:15 -0400
commit84cb23553ecca69fb2ec84dbd4aa13bb18f26b47 (patch)
treeb464ce3eb2f2848bbd26803d126db11919d57dce /src/mongo/db/session.h
parent28ebaa2cd38d3d01b5bf5c34583e4ce37f03d373 (diff)
downloadmongo-84cb23553ecca69fb2ec84dbd4aa13bb18f26b47.tar.gz
SERVER-35433 Remove extra lock
Diffstat (limited to 'src/mongo/db/session.h')
-rw-r--r--src/mongo/db/session.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/session.h b/src/mongo/db/session.h
index 86a3da73587..c35e0160e99 100644
--- a/src/mongo/db/session.h
+++ b/src/mongo/db/session.h
@@ -578,7 +578,7 @@ private:
void _abortTransactionOnSession(WithLock);
// Clean up the transaction resources unstashed on operation context.
- void _cleanUpTxnResourceOnOpCtx(WithLock wl, OperationContext* opCtx);
+ void _cleanUpTxnResourceOnOpCtx(OperationContext* opCtx);
// Committing a transaction first changes its state to "Committing*" and writes to the oplog,
// then it changes the state to "Committed".