summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-02-18 10:38:14 +0100
committerSergei Golubchik <serg@mariadb.org>2017-02-27 12:35:10 +0100
commitd78d0d459d10dd12069de82d6735f1acf183c631 (patch)
tree50187d39a901db0e90ddfb504cf72d8af0144f50 /mysys
parent8722d4b8d219f687509b95d952fb46dff684ba00 (diff)
downloadmariadb-git-d78d0d459d10dd12069de82d6735f1acf183c631.tar.gz
cleanup: NO_OPEN_3 was never defined
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_open.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mysys/my_open.c b/mysys/my_open.c
index d19db0aaf0c..24d5c881372 100644
--- a/mysys/my_open.c
+++ b/mysys/my_open.c
@@ -45,10 +45,8 @@ File my_open(const char *FileName, int Flags, myf MyFlags)
MyFlags|= my_global_flags;
#if defined(_WIN32)
fd= my_win_open(FileName, Flags);
-#elif !defined(NO_OPEN_3)
- fd = open(FileName, Flags, my_umask); /* Normal unix */
#else
- fd = open((char *) FileName, Flags);
+ fd = open(FileName, Flags, my_umask);
#endif
fd= my_register_filename(fd, FileName, FILE_BY_OPEN,