Skip to content

Commit fde99e0

Browse files
committed
MDEV-28716: Portability: unlink() can return EPERM instead of EISDIR
1 parent 9d10b71 commit fde99e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/innobase/os/os0file.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2479,6 +2479,7 @@ os_file_get_last_error_low(
24792479
case EXDEV:
24802480
case ENOTDIR:
24812481
case EISDIR:
2482+
case EPERM:
24822483
return(OS_FILE_PATH_ERROR);
24832484
case EAGAIN:
24842485
if (srv_use_native_aio) {

0 commit comments

Comments
 (0)