mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
os0file.c:
strerror() does not work in Windows innobase/os/os0file.c: strerror() does not work in Windows
This commit is contained in:
parent
89e95d0c26
commit
3a068e5724
1 changed files with 1 additions and 6 deletions
|
|
@ -226,13 +226,8 @@ os_file_get_last_error(void)
|
|||
"InnoDB: the directory. It may also be you have created a subdirectory\n"
|
||||
"InnoDB: of the same name as a data file.\n");
|
||||
} else {
|
||||
if (strerror((int)err) != NULL) {
|
||||
fprintf(stderr,
|
||||
"InnoDB: Error number %lu means '%s'.\n", err, strerror((int)err));
|
||||
}
|
||||
|
||||
fprintf(stderr,
|
||||
"InnoDB: See also section 13.2 at http://www.innodb.com/ibman.html\n"
|
||||
"InnoDB: See section 13.2 at http://www.innodb.com/ibman.html\n"
|
||||
"InnoDB: about operating system error numbers.\n");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue