summaryrefslogtreecommitdiff
path: root/src/mongo/db/transaction_participant_test.cpp
diff options
context:
space:
mode:
authorJudah Schvimer <judah@mongodb.com>2019-05-22 23:12:20 -0400
committerJudah Schvimer <judah@mongodb.com>2019-05-22 23:12:20 -0400
commite0f66bf6d4aefe9e104453716aff5f47a42931e4 (patch)
tree8a38ab50b27c371f53512cf4979e8d899324f713 /src/mongo/db/transaction_participant_test.cpp
parent2c4c991bb1eebfd47cd74b6fa91f202429eb3f14 (diff)
downloadmongo-e0f66bf6d4aefe9e104453716aff5f47a42931e4.tar.gz
SERVER-39489 Remove optime creation in TransactionParticipant
Diffstat (limited to 'src/mongo/db/transaction_participant_test.cpp')
-rw-r--r--src/mongo/db/transaction_participant_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/transaction_participant_test.cpp b/src/mongo/db/transaction_participant_test.cpp
index 39813ca3fbd..ea04f5b7829 100644
--- a/src/mongo/db/transaction_participant_test.cpp
+++ b/src/mongo/db/transaction_participant_test.cpp
@@ -2875,8 +2875,7 @@ std::string buildTransactionInfoString(OperationContext* opCtx,
StringBuilder readTimestampInfo;
readTimestampInfo
<< " readTimestamp:"
- << txnParticipant.getSpeculativeTransactionReadOpTimeForTest().getTimestamp().toString()
- << ",";
+ << txnParticipant.getSingleTransactionStatsForTest().getReadTimestamp().toString() << ",";
StringBuilder singleTransactionStatsInfo;
buildSingleTransactionStatsString(&singleTransactionStatsInfo, metricValue);