Commit 67740324 authored by marko's avatar marko

branches/zip: Allow compilation with UNIV_DEBUG without defining

the symbol UNIV_DEBUG_PRINT, which was introduced in r729.

buf_LRU_print(), buf_print(): Replace #ifdef UNIV_DEBUG_PRINT
with #if defined UNIV_DEBUG || defined UNIV_DEBUG_PRINT.
parent d71e0c2d
...@@ -2252,7 +2252,7 @@ buf_validate(void) ...@@ -2252,7 +2252,7 @@ buf_validate(void)
} }
#endif /* UNIV_DEBUG */ #endif /* UNIV_DEBUG */
#ifdef UNIV_DEBUG_PRINT #if defined UNIV_DEBUG || defined UNIV_DEBUG_PRINT
/************************************************************************* /*************************************************************************
Prints info of the buffer buf_pool data structure. */ Prints info of the buffer buf_pool data structure. */
...@@ -2353,7 +2353,7 @@ buf_print(void) ...@@ -2353,7 +2353,7 @@ buf_print(void)
ut_ad(buf_validate()); ut_ad(buf_validate());
} }
#endif /* UNIV_DEBUG_PRINT */ #endif /* UNIV_DEBUG || UNIV_DEBUG_PRINT */
/************************************************************************* /*************************************************************************
Returns the number of latched pages in the buffer pool. */ Returns the number of latched pages in the buffer pool. */
......
...@@ -1045,7 +1045,7 @@ buf_LRU_validate(void) ...@@ -1045,7 +1045,7 @@ buf_LRU_validate(void)
} }
#endif /* UNIV_DEBUG */ #endif /* UNIV_DEBUG */
#ifdef UNIV_DEBUG_PRINT #if defined UNIV_DEBUG || defined UNIV_DEBUG_PRINT
/************************************************************************** /**************************************************************************
Prints the LRU list. */ Prints the LRU list. */
...@@ -1098,4 +1098,4 @@ buf_LRU_print(void) ...@@ -1098,4 +1098,4 @@ buf_LRU_print(void)
mutex_exit(&(buf_pool->mutex)); mutex_exit(&(buf_pool->mutex));
} }
#endif /* UNIV_DEBUG_PRINT */ #endif /* UNIV_DEBUG || UNIV_DEBUG_PRINT */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment