summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/btree/row_modify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/btree/row_modify.c')
-rw-r--r--src/third_party/wiredtiger/src/btree/row_modify.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/btree/row_modify.c b/src/third_party/wiredtiger/src/btree/row_modify.c
index c7a2e76e1de..53195c95cdd 100644
--- a/src/third_party/wiredtiger/src/btree/row_modify.c
+++ b/src/third_party/wiredtiger/src/btree/row_modify.c
@@ -384,6 +384,10 @@ __wt_update_obsolete_check(
if (upd->start_ts != WT_TS_NONE && upd->start_ts >= oldest && upd->start_ts < stable)
++upd_unstable;
}
+
+ /* Cannot truncate the updates if we need to remove the updates from the history store. */
+ if (F_ISSET(upd, WT_UPDATE_TO_DELETE_FROM_HS))
+ first = NULL;
}
/*