diff options
author | marko@hundin.mysql.fi <> | 2004-04-07 14:19:26 +0300 |
---|---|---|
committer | marko@hundin.mysql.fi <> | 2004-04-07 14:19:26 +0300 |
commit | 253bf9861b06da3ea132aadfd5e1a60e7d9c3c2f (patch) | |
tree | 2f1cb9f7307ff2cede7e13d739760692e11dcaaf /innobase/ibuf | |
parent | 44a6fcba2f357b3f74bde8673046b310ecfd6645 (diff) | |
download | mariadb-git-253bf9861b06da3ea132aadfd5e1a60e7d9c3c2f.tar.gz |
InnoDB: Remove debug functions unless #ifdef UNIV_DEBUG
Diffstat (limited to 'innobase/ibuf')
-rw-r--r-- | innobase/ibuf/ibuf0ibuf.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/innobase/ibuf/ibuf0ibuf.c b/innobase/ibuf/ibuf0ibuf.c index 2745af42ff7..83bb23b036f 100644 --- a/innobase/ibuf/ibuf0ibuf.c +++ b/innobase/ibuf/ibuf0ibuf.c @@ -172,13 +172,15 @@ because ibuf merge is done to a page when it is read in, and it is still physically like the index page even if the index would have been dropped! So, there seems to be no problem. */ +#ifdef UNIV_DEBUG /********************************************************************** Validates the ibuf data structures when the caller owns ibuf_mutex. */ - +static ibool ibuf_validate_low(void); /*===================*/ /* out: TRUE if ok */ +#endif /* UNIV_DEBUG */ /********************************************************************** Sets the flag in the current OS thread local storage denoting that it is @@ -2753,9 +2755,10 @@ reset_bit: #endif } +#ifdef UNIV_DEBUG /********************************************************************** Validates the ibuf data structures when the caller owns ibuf_mutex. */ - +static ibool ibuf_validate_low(void) /*===================*/ @@ -2782,6 +2785,7 @@ ibuf_validate_low(void) return(TRUE); } +#endif /* UNIV_DEBUG */ /********************************************************************** Prints info of ibuf. */ |