MDEV-28716: Portability: unlink() can return EPERM instead of EISDIR
This commit is contained in:
parent
9d10b7107c
commit
fde99e006d
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user