diff options
author | Sverker Eriksson <[email protected]> | 2018-10-03 18:06:21 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-10-03 19:00:53 +0200 |
commit | e3592b63ed0c1d563c6b9d146f00b07fcc272c24 (patch) | |
tree | 5a06538f136bcaa17a28ecd20242d313f63dfb63 /erts | |
parent | 6fefb29c3cef9ff3e07f61d88eb0eb62bcde5d03 (diff) | |
download | otp-e3592b63ed0c1d563c6b9d146f00b07fcc272c24.tar.gz otp-e3592b63ed0c1d563c6b9d146f00b07fcc272c24.tar.bz2 otp-e3592b63ed0c1d563c6b9d146f00b07fcc272c24.zip |
erts: Fix bug in erl_db_catree
Search stack must be cleared before retry.
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/beam/erl_db_catree.c | 1 |
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; |