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
07a0fdeb
Commit
07a0fdeb
authored
Mar 03, 2005
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
srv0start.c:
Work around the AIX 5.1 security patch ML7 problem in errno when it should be EEXIST
parent
c93fcd19
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
innobase/srv/srv0start.c
innobase/srv/srv0start.c
+16
-2
No files found.
innobase/srv/srv0start.c
View file @
07a0fdeb
...
...
@@ -568,7 +568,14 @@ open_or_create_log_file(
files
[
i
]
=
os_file_create
(
name
,
OS_FILE_CREATE
,
OS_FILE_NORMAL
,
OS_LOG_FILE
,
&
ret
);
if
(
ret
==
FALSE
)
{
if
(
os_file_get_last_error
(
FALSE
)
!=
OS_FILE_ALREADY_EXISTS
)
{
if
(
os_file_get_last_error
(
FALSE
)
!=
OS_FILE_ALREADY_EXISTS
#ifdef UNIV_AIX
/* AIX 5.1 after security patch ML7 may have errno set
to 0 here, which causes our function to return 100;
work around that AIX problem */
&&
os_file_get_last_error
(
FALSE
)
!=
100
#endif
)
{
fprintf
(
stderr
,
"InnoDB: Error in creating or opening %s
\n
"
,
name
);
...
...
@@ -728,7 +735,14 @@ open_or_create_data_files(
OS_FILE_NORMAL
,
OS_DATA_FILE
,
&
ret
);
if
(
ret
==
FALSE
&&
os_file_get_last_error
(
FALSE
)
!=
OS_FILE_ALREADY_EXISTS
)
{
OS_FILE_ALREADY_EXISTS
#ifdef UNIV_AIX
/* AIX 5.1 after security patch ML7 may have
errno set to 0 here, which causes our function
to return 100; work around that AIX problem */
&&
os_file_get_last_error
(
FALSE
)
!=
100
#endif
)
{
fprintf
(
stderr
,
"InnoDB: Error in creating or opening %s
\n
"
,
name
);
...
...
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