summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/btree/row_modify.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/btree/row_modify.c b/src/btree/row_modify.c
index fc499b6208c..bc0e6b61546 100644
--- a/src/btree/row_modify.c
+++ b/src/btree/row_modify.c
@@ -228,6 +228,8 @@ __wt_insert_serial_func(WT_SESSION_IMPL *session, void *args)
if ((inshead = *insheadp) == NULL)
inshead = new_inshead;
+ else if (new_inshead != NULL)
+ return (WT_RESTART);
/*
* Check the page's write-generation: if that fails, check whether we