1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-13 20:03:16 +03:00

branches/zip: Enclose buf_block_t:in_LRU_list in #ifdef UNIV_DEBUG

This commit is contained in:
marko
2006-11-28 09:37:02 +00:00
parent b03460d90d
commit 620df99df0
3 changed files with 17 additions and 9 deletions

View File

@@ -794,8 +794,10 @@ struct buf_block_struct{
debugging */
UT_LIST_NODE_T(buf_block_t) LRU;
/* node of the LRU list */
#ifdef UNIV_DEBUG
ibool in_LRU_list; /* TRUE of the page is in the LRU list;
used in debugging */
#endif /* UNIV_DEBUG */
ulint LRU_position; /* value which monotonically
decreases (or may stay constant if
the block is in the old blocks) toward