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/include/buf0flu.h | |
parent | 44a6fcba2f357b3f74bde8673046b310ecfd6645 (diff) | |
download | mariadb-git-253bf9861b06da3ea132aadfd5e1a60e7d9c3c2f.tar.gz |
InnoDB: Remove debug functions unless #ifdef UNIV_DEBUG
Diffstat (limited to 'innobase/include/buf0flu.h')
-rw-r--r-- | innobase/include/buf0flu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/innobase/include/buf0flu.h b/innobase/include/buf0flu.h index 1b40acaa269..6f39eef7210 100644 --- a/innobase/include/buf0flu.h +++ b/innobase/include/buf0flu.h @@ -97,6 +97,7 @@ buf_flush_ready_for_replace( /* out: TRUE if can replace immediately */ buf_block_t* block); /* in: buffer control block, must be in state BUF_BLOCK_FILE_PAGE and in the LRU list */ +#ifdef UNIV_DEBUG /********************************************************************** Validates the flush list. */ @@ -104,6 +105,7 @@ ibool buf_flush_validate(void); /*====================*/ /* out: TRUE if ok */ +#endif /* UNIV_DEBUG */ /* When buf_flush_free_margin is called, it tries to make this many blocks available to replacement in the free list and at the end of the LRU list (to |