summaryrefslogtreecommitdiff
path: root/innobase/btr
diff options
context:
space:
mode:
authormarko@hundin.mysql.fi <>2004-04-07 14:19:26 +0300
committermarko@hundin.mysql.fi <>2004-04-07 14:19:26 +0300
commit253bf9861b06da3ea132aadfd5e1a60e7d9c3c2f (patch)
tree2f1cb9f7307ff2cede7e13d739760692e11dcaaf /innobase/btr
parent44a6fcba2f357b3f74bde8673046b310ecfd6645 (diff)
downloadmariadb-git-253bf9861b06da3ea132aadfd5e1a60e7d9c3c2f.tar.gz
InnoDB: Remove debug functions unless #ifdef UNIV_DEBUG
Diffstat (limited to 'innobase/btr')
-rw-r--r--innobase/btr/btr0btr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/innobase/btr/btr0btr.c b/innobase/btr/btr0btr.c
index 2e9de9b39bf..70bcd1eea1f 100644
--- a/innobase/btr/btr0btr.c
+++ b/innobase/btr/btr0btr.c
@@ -2162,6 +2162,7 @@ btr_discard_page(
ut_ad(btr_check_node_ptr(tree, merge_page, mtr));
}
+#ifdef UNIV_DEBUG
/*****************************************************************
Prints size info of a B-tree. */
@@ -2282,6 +2283,7 @@ btr_print_tree(
btr_validate_tree(tree);
}
+#endif /* UNIV_DEBUG */
/****************************************************************
Checks that the node pointer to a page is appropriate. */