summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-09-08 11:36:34 +0200
committerSergei Golubchik <sergii@pisem.net>2013-09-08 11:36:34 +0200
commit1e24cdc85be16d08bb079979ab5131e311542b80 (patch)
tree842e68d992dea696e3f3281664e73be358155cc3
parentdfc452217d4998bc22e9435cf55bf4e61fa0631a (diff)
downloadmariadb-git-1e24cdc85be16d08bb079979ab5131e311542b80.tar.gz
fix for xtradb to compile on windows
-rw-r--r--storage/xtradb/buf/buf0buf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/xtradb/buf/buf0buf.c b/storage/xtradb/buf/buf0buf.c
index 996731aa406..91c5fbcbba9 100644
--- a/storage/xtradb/buf/buf0buf.c
+++ b/storage/xtradb/buf/buf0buf.c
@@ -4065,14 +4065,14 @@ retry_mutex:
mutex_enter(&buf_pool->LRU_list_mutex);
block_mutex = buf_page_get_mutex_enter(bpage);
ut_a(block_mutex);
- if (UNIV_UNLIKELY(io_type == BUF_IO_WRITE
+ if (io_type == BUF_IO_WRITE
&& (
#if defined UNIV_DEBUG || defined UNIV_BUF_DEBUG
buf_page_get_state(bpage) == BUF_BLOCK_ZIP_DIRTY
||
#endif
buf_page_get_flush_type(bpage) == BUF_FLUSH_LRU)
- && !have_LRU_mutex)) {
+ && !have_LRU_mutex) {
mutex_exit(block_mutex);
have_LRU_mutex = TRUE;