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
b69c8895
Commit
b69c8895
authored
Sep 20, 2010
by
Vasil Dimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(os0file.c:1486) Bug#55227 Fix compiler warnings in innodb with gcc 4.6
parent
70330ca9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
storage/innobase/os/os0file.c
storage/innobase/os/os0file.c
+1
-12
No files found.
storage/innobase/os/os0file.c
View file @
b69c8895
...
...
@@ -1483,7 +1483,6 @@ try_again:
ibool
retry
;
const
char
*
mode_str
=
NULL
;
const
char
*
type_str
=
NULL
;
const
char
*
purpose_str
=
NULL
;
try_again:
ut_a
(
name
);
...
...
@@ -1511,18 +1510,8 @@ try_again:
ut_error
;
}
if
(
purpose
==
OS_FILE_AIO
)
{
purpose_str
=
"AIO"
;
}
else
if
(
purpose
==
OS_FILE_NORMAL
)
{
purpose_str
=
"NORMAL"
;
}
else
{
ut_error
;
}
ut_a
(
purpose
==
OS_FILE_AIO
||
purpose
==
OS_FILE_NORMAL
);
#if 0
fprintf(stderr, "Opening file %s, mode %s, type %s, purpose %s\n",
name, mode_str, type_str, purpose_str);
#endif
#ifdef O_SYNC
/* We let O_SYNC only affect log files; note that we map O_DSYNC to
O_SYNC because the datasync options seemed to corrupt files in 2001
...
...
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