diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-02-18 10:38:14 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-02-27 12:35:10 +0100 |
commit | d78d0d459d10dd12069de82d6735f1acf183c631 (patch) | |
tree | 50187d39a901db0e90ddfb504cf72d8af0144f50 /plugin | |
parent | 8722d4b8d219f687509b95d952fb46dff684ba00 (diff) | |
download | mariadb-git-d78d0d459d10dd12069de82d6735f1acf183c631.tar.gz |
cleanup: NO_OPEN_3 was never defined
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/server_audit/server_audit.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugin/server_audit/server_audit.c b/plugin/server_audit/server_audit.c index eae7ad12f1c..10dcb1852e8 100644 --- a/plugin/server_audit/server_audit.c +++ b/plugin/server_audit/server_audit.c @@ -158,10 +158,8 @@ static File loc_open(const char *FileName, int Flags) File fd; #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 my_errno= errno; return fd; |