diff options
author | heikki@hundin.mysql.fi <> | 2003-08-24 03:44:16 +0300 |
---|---|---|
committer | heikki@hundin.mysql.fi <> | 2003-08-24 03:44:16 +0300 |
commit | ea5f464d209168c7fa3f5f7a578dcb58d92c3e4e (patch) | |
tree | 01471453e91ee58715a2a6c0898478f178e12291 /innobase | |
parent | cc918272edb3e3d2cfb199ccdff54fc3710b63a1 (diff) | |
download | mariadb-git-ea5f464d209168c7fa3f5f7a578dcb58d92c3e4e.tar.gz |
os0file.c:
strerror() does not work in Windows
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/os/os0file.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/innobase/os/os0file.c b/innobase/os/os0file.c index 7936b06c24d..311937f2145 100644 --- a/innobase/os/os0file.c +++ b/innobase/os/os0file.c @@ -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"); } } |