diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/include/timestamp_inline.h')
-rw-r--r-- | src/third_party/wiredtiger/src/include/timestamp_inline.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/include/timestamp_inline.h b/src/third_party/wiredtiger/src/include/timestamp_inline.h index fd27a1f8a90..f90bd97e72a 100644 --- a/src/third_party/wiredtiger/src/include/timestamp_inline.h +++ b/src/third_party/wiredtiger/src/include/timestamp_inline.h @@ -27,6 +27,10 @@ (tw)->start_txn == WT_TXN_NONE && (tw)->durable_stop_ts == WT_TS_NONE && \ (tw)->stop_ts == WT_TS_MAX && (tw)->stop_txn == WT_TXN_MAX && (tw)->prepare == 0) +/* Check if the start time window is set. */ +#define WT_TIME_WINDOW_HAS_START(tw) \ + ((tw)->start_txn != WT_TXN_NONE || (tw)->start_ts != WT_TS_NONE) + /* Check if the stop time window is set. */ #define WT_TIME_WINDOW_HAS_STOP(tw) ((tw)->stop_txn != WT_TXN_MAX || (tw)->stop_ts != WT_TS_MAX) |