Commit fde99e00 authored by Marko Mäkelä's avatar Marko Mäkelä

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

parent 9d10b710
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment