diff options
author | jinichu <jinnybyun@gmail.com> | 2018-07-05 15:39:07 -0400 |
---|---|---|
committer | jinichu <jinnybyun@gmail.com> | 2018-07-05 15:39:07 -0400 |
commit | 1447252f5f44e4a2df4b7e38d4bdef0d88e526c4 (patch) | |
tree | 20e6c04726ab6e63130c669a7f6bb60040123d3f /src/mongo/db/curop.cpp | |
parent | c0fecea1c3eb40fe6b5affe7cd505b5ce7dc2faa (diff) | |
download | mongo-1447252f5f44e4a2df4b7e38d4bdef0d88e526c4.tar.gz |
SERVER-35173 Added autocommit value to currentOp's transaction sub-document
Diffstat (limited to 'src/mongo/db/curop.cpp')
-rw-r--r-- | src/mongo/db/curop.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/curop.cpp b/src/mongo/db/curop.cpp index 08fb567b729..bc61bb30574 100644 --- a/src/mongo/db/curop.cpp +++ b/src/mongo/db/curop.cpp @@ -257,11 +257,6 @@ void CurOp::reportCurrentOpForClient(OperationContext* opCtx, lsid->serialize(&lsidBuilder); } - if (auto txnNumber = clientOpCtx->getTxnNumber()) { - infoBuilder->append("transaction", - BSON("parameters" << BSON("txnNumber" << *txnNumber))); - } - CurOp::get(clientOpCtx)->reportState(infoBuilder, truncateOps); } } |