summaryrefslogtreecommitdiff
path: root/innobase/buf/buf0lru.c
diff options
context:
space:
mode:
authormarko@hundin.mysql.fi <>2005-06-13 11:39:31 +0300
committermarko@hundin.mysql.fi <>2005-06-13 11:39:31 +0300
commit40516ad80c52173890d160afc068c14e283d8f33 (patch)
tree0f1127c870e3338a55d3e411098bc50e6161374d /innobase/buf/buf0lru.c
parent3cbaf365e6ec65ea516836ef53cd9f58f100a76a (diff)
downloadmariadb-git-40516ad80c52173890d160afc068c14e283d8f33.tar.gz
InnoDB: Remove unreferenced debug functions from non-debug builds.
Diffstat (limited to 'innobase/buf/buf0lru.c')
-rw-r--r--innobase/buf/buf0lru.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/innobase/buf/buf0lru.c b/innobase/buf/buf0lru.c
index 18c4f8c10fb..0a195b6162f 100644
--- a/innobase/buf/buf0lru.c
+++ b/innobase/buf/buf0lru.c
@@ -919,7 +919,8 @@ buf_LRU_block_free_hashed_page(
buf_LRU_block_free_non_file_page(block);
}
-
+
+#ifdef UNIV_DEBUG
/**************************************************************************
Validates the LRU list. */
@@ -1050,3 +1051,4 @@ buf_LRU_print(void)
mutex_exit(&(buf_pool->mutex));
}
+#endif /* UNIV_DEBUG */