diff options
author | Sverker Eriksson <[email protected]> | 2018-10-15 19:17:27 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-10-19 19:44:51 +0200 |
commit | fd66782f1832966c5ee27bf756f1255bf0102bc9 (patch) | |
tree | 3857cfe0236733fc278e5338441260c98a275f5e /erts/emulator/beam/erl_db_tree.c | |
parent | c45856710651882d16686be82626ae6058590005 (diff) | |
download | otp-fd66782f1832966c5ee27bf756f1255bf0102bc9.tar.gz otp-fd66782f1832966c5ee27bf756f1255bf0102bc9.tar.bz2 otp-fd66782f1832966c5ee27bf756f1255bf0102bc9.zip |
erts: Remove tree merging for ets:first,last,next,prev
Diffstat (limited to 'erts/emulator/beam/erl_db_tree.c')
-rw-r--r-- | erts/emulator/beam/erl_db_tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_db_tree.c b/erts/emulator/beam/erl_db_tree.c index 71ec6e28e5..35868c318d 100644 --- a/erts/emulator/beam/erl_db_tree.c +++ b/erts/emulator/beam/erl_db_tree.c @@ -547,7 +547,7 @@ int db_next_tree_common(Process *p, DbTable *tbl, { TreeDbTerm *this; - if (is_atom(key) && key == am_EOT) + if (key == am_EOT) return DB_ERROR_BADKEY; this = find_next(&tbl->common, root, stack, key); if (this == NULL) { @@ -605,7 +605,7 @@ int db_prev_tree_common(Process *p, DbTable *tbl, TreeDbTerm *root, Eterm key, { TreeDbTerm *this; - if (is_atom(key) && key == am_EOT) + if (key == am_EOT) return DB_ERROR_BADKEY; this = find_prev(&tbl->common, root, stack, key); if (this == NULL) { |