From b0e30498baa8684e04f03c5cb6925181b9fc7972 Mon Sep 17 00:00:00 2001 From: Michael Cahill Date: Tue, 20 Aug 2013 17:17:13 +1000 Subject: Avoid a race installing an insert list. --- src/btree/row_modify.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.1