diff options
Diffstat (limited to 'src/mongo/db/transaction_participant.h')
-rw-r--r-- | src/mongo/db/transaction_participant.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/transaction_participant.h b/src/mongo/db/transaction_participant.h index 3cf7735cc94..0c16db50160 100644 --- a/src/mongo/db/transaction_participant.h +++ b/src/mongo/db/transaction_participant.h @@ -822,13 +822,13 @@ private: */ OplogSlot getLastSlot() { invariant(!_oplogSlots.empty()); - invariant(!_oplogSlots.back().opTime.isNull()); + invariant(!_oplogSlots.back().isNull()); return getSlots().back(); } std::vector<OplogSlot>& getSlots() { invariant(!_oplogSlots.empty()); - invariant(!_oplogSlots.back().opTime.isNull()); + invariant(!_oplogSlots.back().isNull()); return _oplogSlots; } |