aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_db_tree.c
diff options
context:
space:
mode:
authorGuilherme Andrade <[email protected]>2017-03-22 23:56:56 +0000
committerGuilherme Andrade <[email protected]>2017-03-22 23:57:55 +0000
commit7cb2ca89f96d9724267b46d2f1eb52a2cbe7c06f (patch)
tree709f1123b5251886daed888cee5978d860045bde /erts/emulator/beam/erl_db_tree.c
parent5e18e917f29ed46caffa1211eb52ade01d24366a (diff)
downloadotp-7cb2ca89f96d9724267b46d2f1eb52a2cbe7c06f.tar.gz
otp-7cb2ca89f96d9724267b46d2f1eb52a2cbe7c06f.tar.bz2
otp-7cb2ca89f96d9724267b46d2f1eb52a2cbe7c06f.zip
Use ETS table id references on select_replace
Diffstat (limited to 'erts/emulator/beam/erl_db_tree.c')
-rw-r--r--erts/emulator/beam/erl_db_tree.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_db_tree.c b/erts/emulator/beam/erl_db_tree.c
index 60bf7fc979..6334723d39 100644
--- a/erts/emulator/beam/erl_db_tree.c
+++ b/erts/emulator/beam/erl_db_tree.c
@@ -424,7 +424,7 @@ static int db_select_delete_tree(Process *p, DbTable *tbl, Eterm tid,
Eterm pattern, Eterm *ret);
static int db_select_delete_continue_tree(Process *p, DbTable *tbl,
Eterm continuation, Eterm *ret);
-static int db_select_replace_tree(Process *p, DbTable *tbl,
+static int db_select_replace_tree(Process *p, DbTable *tbl, Eterm tid,
Eterm pattern, Eterm *ret);
static int db_select_replace_continue_tree(Process *p, DbTable *tbl,
Eterm continuation, Eterm *ret);
@@ -1839,11 +1839,10 @@ static int db_select_replace_continue_tree(Process *p,
#undef RET_TO_BIF
}
-static int db_select_replace_tree(Process *p, DbTable *tbl,
+static int db_select_replace_tree(Process *p, DbTable *tbl, Eterm tid,
Eterm pattern, Eterm *ret)
{
DbTableTree *tb = &tbl->tree;
- Eterm tid = NIL; // TODO
DbTreeStack* stack;
struct select_replace_context sc;
struct mp_info mpi;