aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--erts/emulator/beam/erl_db_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_db_hash.c b/erts/emulator/beam/erl_db_hash.c
index ac31569181..21af322632 100644
--- a/erts/emulator/beam/erl_db_hash.c
+++ b/erts/emulator/beam/erl_db_hash.c
@@ -2190,7 +2190,7 @@ static int db_select_replace_hash(Process *p, DbTable *tbl, Eterm pattern, Eterm
/* Bag implementation presented both semantic consistency and performance issues,
* unsupported for now
*/
- ASSERT(!(tb->common.status & DB_BAG));
+ ASSERT(!(tbl->hash.common.status & DB_BAG));
sr_context.p = p;
sr_context.tb = &tbl->hash;