diff options
author | Sverker Eriksson <[email protected]> | 2010-12-16 12:14:33 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2011-02-03 17:33:44 +0100 |
commit | 359517b5177756d871b91757160e6840e0fbfe4a (patch) | |
tree | 814d7e7e8868e5ea117e76603c480313af84b977 /erts/emulator/beam/erl_db_hash.c | |
parent | 651c99b7aac8ac7ca7f84efa0d3bd3b541d6f3a4 (diff) | |
download | otp-359517b5177756d871b91757160e6840e0fbfe4a.tar.gz otp-359517b5177756d871b91757160e6840e0fbfe4a.tar.bz2 otp-359517b5177756d871b91757160e6840e0fbfe4a.zip |
HALFWORD ETS nicer update_element
Diffstat (limited to 'erts/emulator/beam/erl_db_hash.c')
-rw-r--r-- | erts/emulator/beam/erl_db_hash.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_db_hash.c b/erts/emulator/beam/erl_db_hash.c index e43e734b27..035aefed0c 100644 --- a/erts/emulator/beam/erl_db_hash.c +++ b/erts/emulator/beam/erl_db_hash.c @@ -2690,9 +2690,9 @@ static int db_lookup_dbterm_hash(DbTable *tbl, Eterm key, DbUpdateHandle* handle handle->dbterm = &b->dbterm; handle->mustResize = 0; handle->new_size = b->dbterm.size; - #if HALFWORD_HEAP - handle->new_tuple = handle->dbterm->tpl; - #endif + #if HALFWORD_HEAP + handle->abs_vec = NULL; + #endif handle->lck = lck; /* KEEP hval WLOCKED, db_finalize_dbterm_hash will WUNLOCK */ return 1; |