aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilherme Andrade <[email protected]>2017-02-25 22:03:23 +0000
committerGuilherme Andrade <[email protected]>2017-03-22 23:57:54 +0000
commitd3edd7a070d50ae99cb42f0564013f122bda80b2 (patch)
tree635aef8fe5444c5a2dd19213792d9d73751086e8
parented71ea35bad9a511125c82ce42160cad9fa8311f (diff)
downloadotp-d3edd7a070d50ae99cb42f0564013f122bda80b2.tar.gz
otp-d3edd7a070d50ae99cb42f0564013f122bda80b2.tar.bz2
otp-d3edd7a070d50ae99cb42f0564013f122bda80b2.zip
Fix typo that broke debug builds
-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;