diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/btree/bt_sync.c')
-rw-r--r-- | src/third_party/wiredtiger/src/btree/bt_sync.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/third_party/wiredtiger/src/btree/bt_sync.c b/src/third_party/wiredtiger/src/btree/bt_sync.c index c5c08faa701..c6d1d2d18ea 100644 --- a/src/third_party/wiredtiger/src/btree/bt_sync.c +++ b/src/third_party/wiredtiger/src/btree/bt_sync.c @@ -269,14 +269,11 @@ __sync_file(WT_SESSION_IMPL *session, WT_CACHE_OP syncop) if (((mod = walk->page->modify) != NULL) && mod->rec_max_txn > btree->rec_max_txn) btree->rec_max_txn = mod->rec_max_txn; -#ifdef HAVE_TIMESTAMPS - if (mod != NULL && __wt_timestamp_cmp( - &btree->rec_max_timestamp, - &mod->rec_max_timestamp) < 0) - __wt_timestamp_set( - &btree->rec_max_timestamp, - &mod->rec_max_timestamp); -#endif + if (mod != NULL && + btree->rec_max_timestamp < + mod->rec_max_timestamp) + btree->rec_max_timestamp = + mod->rec_max_timestamp; continue; } |