This commit is contained in:
heikki@hundin.mysql.fi 2005-03-03 17:50:04 +02:00
commit c93fcd19a5

View file

@ -299,15 +299,6 @@ os_file_get_last_error(
return(OS_FILE_NOT_FOUND);
} else if (err == EEXIST) {
return(OS_FILE_ALREADY_EXISTS);
#ifdef UNIV_AIX
} else if (err == 0) {
fprintf(stderr,
"InnoDB: errno is 0. Since AIX 5.1 after security patch ML7 erroneously\n"
"InnoDB: sets errno to 0 when it should be EEXIST, we assume that the real\n"
"InnoDB: error here was EEXIST.\n");
return(OS_FILE_ALREADY_EXISTS);
#endif
} else {
return(100 + err);
}