diff options
Diffstat (limited to 'sql/log.cc')
-rw-r--r-- | sql/log.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/log.cc b/sql/log.cc index ab080366f95..429ef8bd339 100644 --- a/sql/log.cc +++ b/sql/log.cc @@ -1515,9 +1515,10 @@ err: if (error) { if (my_errno == EFBIG) - my_error(ER_TRANS_CACHE_FULL, MYF(0)); + my_message(ER_TRANS_CACHE_FULL, ER(ER_TRANS_CACHE_FULL), MYF(0)); else - my_error(ER_ERROR_ON_WRITE, MYF(0), name, errno); + my_printf_error(ER_ERROR_ON_WRITE, ER(ER_ERROR_ON_WRITE), MYF(0), + name, errno); write_error=1; } if (file == &log_file) |