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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
358b8a49
Commit
358b8a49
authored
Dec 10, 2004
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
89a0623e
09b2dc89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sql/sql_class.cc
sql/sql_class.cc
+1
-1
No files found.
sql/sql_class.cc
View file @
358b8a49
...
@@ -961,7 +961,7 @@ static File create_file(THD *thd, char *path, sql_exchange *exchange,
...
@@ -961,7 +961,7 @@ static File create_file(THD *thd, char *path, sql_exchange *exchange,
return
-
1
;
return
-
1
;
}
}
/* Create the file world readable */
/* Create the file world readable */
if
((
file
=
my_create
(
path
,
0666
,
O_WRONLY
,
MYF
(
MY_WME
)))
<
0
)
if
((
file
=
my_create
(
path
,
0666
,
O_WRONLY
|
O_EXCL
,
MYF
(
MY_WME
)))
<
0
)
return
file
;
return
file
;
#ifdef HAVE_FCHMOD
#ifdef HAVE_FCHMOD
(
void
)
fchmod
(
file
,
0666
);
// Because of umask()
(
void
)
fchmod
(
file
,
0666
);
// Because of umask()
...
...
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