summaryrefslogtreecommitdiff
path: root/storage/innobase/os
diff options
context:
space:
mode:
authorJan Lindström <jplindst@mariadb.org>2014-03-21 15:46:36 +0200
committerJan Lindström <jplindst@mariadb.org>2014-03-21 15:46:36 +0200
commit6a756b3a44cbe849a3a5a41b0e134e820d567c6d (patch)
tree5495bcf3bcf0b49895b5896af05f82fabcd237fe /storage/innobase/os
parent3ea72a2ba9deb9e3da7efe57a74ce9b34b346dfd (diff)
downloadmariadb-git-6a756b3a44cbe849a3a5a41b0e134e820d567c6d.tar.gz
Code cleanup: Removed some unnecessary outputs from standard builds (available on
special builds UNIV_PAGECOMPRESS_DEBUG and UNIV_MTFLUSH_DEBUG). Added a new status variable compress_pages_page_compression_error to count possible compression errors.
Diffstat (limited to 'storage/innobase/os')
-rw-r--r--storage/innobase/os/os0file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/os/os0file.cc b/storage/innobase/os/os0file.cc
index 09340cca68d..8068e05573c 100644
--- a/storage/innobase/os/os0file.cc
+++ b/storage/innobase/os/os0file.cc
@@ -6166,7 +6166,7 @@ os_file_trim(
*slot->write_size > 0 &&
len >= *slot->write_size)) {
-#ifdef UNIV_DEBUG
+#ifdef UNIV_PAGECOMPRESS_DEBUG
fprintf(stderr, "Note: TRIM: write_size %lu trim_len %lu len %lu\n",
*slot->write_size, trim_len, len);
#endif