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
80fca0a0
Commit
80fca0a0
authored
Mar 03, 2005
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge hundin.mysql.fi:/home/heikki/mysql-4.0
into hundin.mysql.fi:/home/heikki/mysql-4.1
parents
59ffe5bd
47440f4b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
innobase/os/os0file.c
innobase/os/os0file.c
+9
-0
No files found.
innobase/os/os0file.c
View file @
80fca0a0
...
@@ -299,6 +299,15 @@ os_file_get_last_error(
...
@@ -299,6 +299,15 @@ os_file_get_last_error(
return
(
OS_FILE_NOT_FOUND
);
return
(
OS_FILE_NOT_FOUND
);
}
else
if
(
err
==
EEXIST
)
{
}
else
if
(
err
==
EEXIST
)
{
return
(
OS_FILE_ALREADY_EXISTS
);
return
(
OS_FILE_ALREADY_EXISTS
);
#ifdef UNIV_AIX
}
else
if
(
err
==
0
)
{
fprintf
(
stderr
,
"InnoDB: errno is 0. Since AIX 5.1 after security patch ML7 erroneously
\n
"
"InnoDB: sets errno to 0 when it should be EEXIST, we assume that the real
\n
"
"InnoDB: error here was EEXIST.
\n
"
);
return
(
OS_FILE_ALREADY_EXISTS
);
#endif
}
else
{
}
else
{
return
(
100
+
err
);
return
(
100
+
err
);
}
}
...
...
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