summaryrefslogtreecommitdiff
path: root/innobase/fsp
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/fsp
parent44a6fcba2f357b3f74bde8673046b310ecfd6645 (diff)
downloadmariadb-git-253bf9861b06da3ea132aadfd5e1a60e7d9c3c2f.tar.gz
InnoDB: Remove debug functions unless #ifdef UNIV_DEBUG
Diffstat (limited to 'innobase/fsp')
-rw-r--r--innobase/fsp/fsp0fsp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/innobase/fsp/fsp0fsp.c b/innobase/fsp/fsp0fsp.c
index 53f5e885df8..7c9c072fadd 100644
--- a/innobase/fsp/fsp0fsp.c
+++ b/innobase/fsp/fsp0fsp.c
@@ -3236,7 +3236,8 @@ fseg_validate_low(
return(TRUE);
}
-
+
+#ifdef UNIV_DEBUG
/***********************************************************************
Validates a segment. */
@@ -3261,6 +3262,7 @@ fseg_validate(
return(ret);
}
+#endif /* UNIV_DEBUG */
/***********************************************************************
Writes info of a segment. */
@@ -3311,6 +3313,7 @@ fseg_print_low(
n_frag, n_free, n_not_full, n_used);
}
+#ifdef UNIV_DEBUG
/***********************************************************************
Writes info of a segment. */
@@ -3331,6 +3334,7 @@ fseg_print(
fseg_print_low(inode, mtr);
}
+#endif /* UNIV_DEBUG */
/***********************************************************************
Validates the file space system and its segments. */