Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d78d0d45
Commit
d78d0d45
authored
Feb 18, 2017
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup: NO_OPEN_3 was never defined
parent
8722d4b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
mysys/my_open.c
mysys/my_open.c
+1
-3
plugin/server_audit/server_audit.c
plugin/server_audit/server_audit.c
+1
-3
No files found.
mysys/my_open.c
View file @
d78d0d45
...
...
@@ -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
,
...
...
plugin/server_audit/server_audit.c
View file @
d78d0d45
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment