summaryrefslogtreecommitdiff
path: root/mysys/default.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/default.c')
-rw-r--r--mysys/default.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mysys/default.c b/mysys/default.c
index 2fadda6a2fe..d938bc4435f 100644
--- a/mysys/default.c
+++ b/mysys/default.c
@@ -320,8 +320,6 @@ static int search_default_file(DYNAMIC_ARRAY *args, MEM_ROOT *alloc,
name);
return 0;
}
- else if ((stat_info.st_mode & S_IFMT) != S_IFREG)
- return 2;
}
#endif
if (!(fp = my_fopen(fn_format(name,name,"","",4),O_RDONLY,MYF(0))))