aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-02-24 10:07:29 +0100
committerBjörn Gustavsson <[email protected]>2011-02-24 10:09:47 +0100
commit527bf97b84f9a3d17e5d6b19120ab2dca63111c9 (patch)
treeb236be1ee4756776d8070d1e629d71f13c17511b /erts
parent3e8194197566efb051b3b09114fe5f91f4d611f9 (diff)
downloadotp-527bf97b84f9a3d17e5d6b19120ab2dca63111c9.tar.gz
otp-527bf97b84f9a3d17e5d6b19120ab2dca63111c9.tar.bz2
otp-527bf97b84f9a3d17e5d6b19120ab2dca63111c9.zip
Don't dump the contents of ordered_set ets tables
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/erl_db_tree.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/erts/emulator/beam/erl_db_tree.c b/erts/emulator/beam/erl_db_tree.c
index 484a096249..6cdbec3213 100644
--- a/erts/emulator/beam/erl_db_tree.c
+++ b/erts/emulator/beam/erl_db_tree.c
@@ -335,7 +335,6 @@ static int doit_select_delete(DbTableTree *tb,
TreeDbTerm *this,
void *ptr,
int forward);
-static void do_dump_tree(int to, void *to_arg, TreeDbTerm *t);
static int partly_bound_can_match_lesser(Eterm partly_bound_1,
Eterm partly_bound_2);
@@ -1747,7 +1746,6 @@ static void db_print_tree(int to, void *to_arg,
"------------------------------------------------\n");
#else
erts_print(to, to_arg, "Ordered set (AVL tree), Elements: %d\n", NITEMS(tb));
- do_dump_tree(to, to_arg, tb->root);
#endif
}
@@ -2063,15 +2061,6 @@ static int analyze_pattern(DbTableTree *tb, Eterm pattern,
return DB_ERROR_NONE;
}
-static void do_dump_tree(int to, void *to_arg, TreeDbTerm *t)
-{
- if (t != NULL) {
- do_dump_tree(to, to_arg, t->left);
- erts_print(to, to_arg, "%T\n", make_tuple(t->dbterm.tpl));
- do_dump_tree(to, to_arg, t->right);
- }
-}
-
static int do_free_tree_cont(DbTableTree *tb, int num_left)
{
TreeDbTerm *root;