diff options
author | Guilherme Andrade <[email protected]> | 2017-03-22 23:56:56 +0000 |
---|---|---|
committer | Guilherme Andrade <[email protected]> | 2017-03-22 23:57:55 +0000 |
commit | 7cb2ca89f96d9724267b46d2f1eb52a2cbe7c06f (patch) | |
tree | 709f1123b5251886daed888cee5978d860045bde /erts/emulator/beam/erl_db.c | |
parent | 5e18e917f29ed46caffa1211eb52ade01d24366a (diff) | |
download | otp-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.c')
-rw-r--r-- | erts/emulator/beam/erl_db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_db.c b/erts/emulator/beam/erl_db.c index d77c585628..378328856d 100644 --- a/erts/emulator/beam/erl_db.c +++ b/erts/emulator/beam/erl_db.c @@ -2994,7 +2994,7 @@ BIF_RETTYPE ets_select_replace_2(BIF_ALIST_2) if (safety == ITER_UNSAFE) { local_fix_table(tb); } - cret = tb->common.meth->db_select_replace(BIF_P, tb, BIF_ARG_2, &ret); + cret = tb->common.meth->db_select_replace(BIF_P, tb, BIF_ARG_1, BIF_ARG_2, &ret); if (DID_TRAP(BIF_P,ret) && safety != ITER_SAFE) { fix_table_locked(BIF_P,tb); |