summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/log.cc b/sql/log.cc
index 7f273247c6f..8f7e15d0db8 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -1517,8 +1517,7 @@ err:
if (my_errno == EFBIG)
my_message(ER_TRANS_CACHE_FULL, ER(ER_TRANS_CACHE_FULL), MYF(0));
else
- my_printf_error(ER_ERROR_ON_WRITE, ER(ER_ERROR_ON_WRITE), MYF(0),
- name, errno);
+ my_error(ER_ERROR_ON_WRITE, MYF(0), name, errno);
write_error=1;
}
if (file == &log_file)