aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_db.c
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-09-30 14:22:54 +0200
committerLukas Larsson <[email protected]>2013-09-30 14:22:54 +0200
commitb44a8d0e488be8ecbb018fbdb3926e129caf0ed0 (patch)
tree159270f0404e7dc8d668ca9e23cf96c8de4a48d4 /erts/emulator/beam/erl_db.c
parentb4f5a3a238cc726b215c6c34484d4cb5299aff33 (diff)
parentc5459f9ba0e8b3568a34788bfd596f5f6be9fca2 (diff)
downloadotp-b44a8d0e488be8ecbb018fbdb3926e129caf0ed0.tar.gz
otp-b44a8d0e488be8ecbb018fbdb3926e129caf0ed0.tar.bz2
otp-b44a8d0e488be8ecbb018fbdb3926e129caf0ed0.zip
Merge branch 'maint'
* maint: Update preloaded add system_info(ets_limit) Conflicts: erts/preloaded/ebin/erlang.beam
Diffstat (limited to 'erts/emulator/beam/erl_db.c')
-rw-r--r--erts/emulator/beam/erl_db.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_db.c b/erts/emulator/beam/erl_db.c
index 98c2988323..40b8eaf8fb 100644
--- a/erts/emulator/beam/erl_db.c
+++ b/erts/emulator/beam/erl_db.c
@@ -3811,6 +3811,13 @@ erts_db_foreach_offheap(DbTable *tb,
tb->common.meth->db_foreach_offheap(tb, func, arg);
}
+/* retrieve max number of ets tables */
+Uint
+erts_db_get_max_tabs()
+{
+ return db_max_tabs;
+}
+
/*
* For testing of meta tables only.
*