summaryrefslogtreecommitdiff
path: root/storage/xtradb/btr
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2012-08-15 09:34:18 +0300
committerMichael Widenius <monty@askmonty.org>2012-08-15 09:34:18 +0300
commitdd8bd2e4c38a3e052b48ba8704e8a7aa89affd74 (patch)
tree50638eb913312381ecd04329884f91e27763d3f0 /storage/xtradb/btr
parentb886cac7123bc37d055fecd49d9a30ce0c39da73 (diff)
downloadmariadb-git-dd8bd2e4c38a3e052b48ba8704e8a7aa89affd74.tar.gz
Fixed compiler warnings
sql/item_subselect.cc: Added purecov info sql/sql_select.cc: Added cast storage/innobase/handler/ha_innodb.cc: Added cast storage/xtradb/btr/btr0btr.c: Added buf_block_get_frame_fast() to avoid compiler warning storage/xtradb/handler/ha_innodb.cc: Added cast storage/xtradb/include/buf0buf.h: Innodb has buf_block_get_frame(block) defined as (block)->frame. Didn't want to do a big change to break xtradb as it may use block_get_frame() differently, so I mad this quick hack to patch one compiler warning.
Diffstat (limited to 'storage/xtradb/btr')
-rw-r--r--storage/xtradb/btr/btr0btr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/xtradb/btr/btr0btr.c b/storage/xtradb/btr/btr0btr.c
index 1fa6df44f7c..d4a0ef5ec60 100644
--- a/storage/xtradb/btr/btr0btr.c
+++ b/storage/xtradb/btr/btr0btr.c
@@ -61,7 +61,7 @@ btr_corruption_report(
buf_block_get_zip_size(block),
BUF_PAGE_PRINT_NO_CRASH);
}
- buf_page_print(buf_block_get_frame(block), 0, 0);
+ buf_page_print(buf_block_get_frame_fast(block), 0, 0);
}
#ifdef UNIV_BLOB_DEBUG