summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@skysql.com>2014-09-10 20:19:41 +0300
committerJan Lindström <jan.lindstrom@skysql.com>2014-09-10 20:19:41 +0300
commit7e2bc140e347ecff90b272a8b2ea9ed1852c5974 (patch)
treeac308cdf839da631ccbfa9ae533f11ea5d6028f6
parent595bcb7947716e7b1758ae7c14ef29c5bbb7630e (diff)
downloadmariadb-git-7e2bc140e347ecff90b272a8b2ea9ed1852c5974.tar.gz
Remove unnecessary debug output causing unnecessary warnings.
-rw-r--r--storage/innobase/os/os0file.cc5
-rw-r--r--storage/xtradb/os/os0file.cc6
2 files changed, 0 insertions, 11 deletions
diff --git a/storage/innobase/os/os0file.cc b/storage/innobase/os/os0file.cc
index 971ff14e45c..ea232444af6 100644
--- a/storage/innobase/os/os0file.cc
+++ b/storage/innobase/os/os0file.cc
@@ -2365,11 +2365,6 @@ os_file_set_size(
current_size = 0;
-#ifdef UNIV_DEBUG
- fprintf(stderr, "InnoDB: Note: File %s current_size %lu extended_size %lu\n",
- name, os_file_get_size(file), size);
-#endif
-
#ifdef HAVE_POSIX_FALLOCATE
if (srv_use_posix_fallocate) {
diff --git a/storage/xtradb/os/os0file.cc b/storage/xtradb/os/os0file.cc
index bec3d1b0080..d67573d14aa 100644
--- a/storage/xtradb/os/os0file.cc
+++ b/storage/xtradb/os/os0file.cc
@@ -2486,12 +2486,6 @@ os_file_set_size(
current_size = 0;
-#ifdef UNIV_DEBUG
- fprintf(stderr, "InnoDB: Note: File %s current_size %lu extended_size %lu\n",
- name, os_file_get_size(file), size);
-#endif
-
-
#ifdef HAVE_POSIX_FALLOCATE
if (srv_use_posix_fallocate) {