aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--erts/emulator/beam/erl_db_catree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_db_catree.c b/erts/emulator/beam/erl_db_catree.c
index 77fd07277f..61667202c0 100644
--- a/erts/emulator/beam/erl_db_catree.c
+++ b/erts/emulator/beam/erl_db_catree.c
@@ -1086,6 +1086,7 @@ lock_first_base_node(DbTable *tbl,
break;
/* Retry */
runlock_base_node(base_node);
+ search_stack_ptr->pos = 0;
}
push_node_dyn_array(tbl, locked_base_nodes_stack_ptr, current_node);
return current_node;