Commit 61c509fb authored by marko@hundin.mysql.fi's avatar marko@hundin.mysql.fi

os0file.c:

  os_file_create_tmpfile(): display errno in case of failure
parent cd6292d2
...@@ -429,8 +429,9 @@ os_file_create_tmpfile(void) ...@@ -429,8 +429,9 @@ os_file_create_tmpfile(void)
if (!file) { if (!file) {
ut_print_timestamp(stderr); ut_print_timestamp(stderr);
fputs(" InnoDB: Error: unable to create temporary file\n", fprintf(stderr,
stderr); " InnoDB: Error: unable to create temporary file;"
" errno: %d\n", errno);
if (fd >= 0) { if (fd >= 0) {
close(fd); close(fd);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment