mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
os0file.c:
os_file_create_tmpfile(): display errno in case of failure innobase/os/os0file.c: os_file_create_tmpfile(): display errno in case of failure
This commit is contained in:
parent
2c900be0ef
commit
54552e8f65
1 changed files with 3 additions and 2 deletions
|
@ -429,8 +429,9 @@ os_file_create_tmpfile(void)
|
|||
|
||||
if (!file) {
|
||||
ut_print_timestamp(stderr);
|
||||
fputs(" InnoDB: Error: unable to create temporary file\n",
|
||||
stderr);
|
||||
fprintf(stderr,
|
||||
" InnoDB: Error: unable to create temporary file;"
|
||||
" errno: %d\n", errno);
|
||||
if (fd >= 0) {
|
||||
close(fd);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue