diff options
Diffstat (limited to 'src/mongo/db/repl/oplog.cpp')
-rw-r--r-- | src/mongo/db/repl/oplog.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mongo/db/repl/oplog.cpp b/src/mongo/db/repl/oplog.cpp index 951cf713c66..a3888344f9d 100644 --- a/src/mongo/db/repl/oplog.cpp +++ b/src/mongo/db/repl/oplog.cpp @@ -306,11 +306,8 @@ void appendSessionInfo(OperationContext* opCtx, BSONObjBuilder* builder, StmtId return; } - Logical_session_id lsid; - lsid.setId(logicalSessionId->getId()); - OperationSessionInfo sessionInfo; - sessionInfo.setSessionId(lsid); + sessionInfo.setSessionId(*logicalSessionId); sessionInfo.setTxnNumber(txnNum); sessionInfo.serialize(builder); |