summaryrefslogtreecommitdiff
path: root/mysys/default.c
diff options
context:
space:
mode:
authorjani@rhols221.adsl.netsonic.fi <>2003-08-28 21:27:25 +0300
committerjani@rhols221.adsl.netsonic.fi <>2003-08-28 21:27:25 +0300
commitfc2fe364741321b6fcd355ea26f6b7fa4adda21e (patch)
treed111f0ed50b7649312d6bf90ff6d096b4c5e4a3d /mysys/default.c
parent31b337feff83f02b31637ef9ab4a7e640ff34fa8 (diff)
downloadmariadb-git-fc2fe364741321b6fcd355ea26f6b7fa4adda21e.tar.gz
Removed restriction not to be able use non regular files.
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))))