MDEV-28716: Portability: unlink() can return EPERM instead of EISDIR

This commit is contained in:
Marko Mäkelä 2022-06-01 11:13:15 +03:00
parent 9d10b7107c
commit fde99e006d

View File

@ -2479,6 +2479,7 @@ os_file_get_last_error_low(
case EXDEV:
case ENOTDIR:
case EISDIR:
case EPERM:
return(OS_FILE_PATH_ERROR);
case EAGAIN:
if (srv_use_native_aio) {