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
9be9ad7b
Commit
9be9ad7b
authored
Oct 19, 2010
by
Davi Arnaut
Browse files
Options
Browse Files
Download
Plain Diff
Merge of mysql-5.1-bugteam into mysql-5.5-bugteam.
parents
a7c93338
7406b38e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
configure.cmake
configure.cmake
+2
-1
configure.in
configure.in
+7
-0
mysys/my_sync.c
mysys/my_sync.c
+1
-1
No files found.
configure.cmake
View file @
9be9ad7b
...
@@ -299,7 +299,8 @@ CHECK_FUNCTION_EXISTS (dlopen HAVE_DLOPEN)
...
@@ -299,7 +299,8 @@ CHECK_FUNCTION_EXISTS (dlopen HAVE_DLOPEN)
CHECK_FUNCTION_EXISTS
(
fchmod HAVE_FCHMOD
)
CHECK_FUNCTION_EXISTS
(
fchmod HAVE_FCHMOD
)
CHECK_FUNCTION_EXISTS
(
fcntl HAVE_FCNTL
)
CHECK_FUNCTION_EXISTS
(
fcntl HAVE_FCNTL
)
CHECK_FUNCTION_EXISTS
(
fconvert HAVE_FCONVERT
)
CHECK_FUNCTION_EXISTS
(
fconvert HAVE_FCONVERT
)
CHECK_SYMBOL_EXISTS
(
fdatasync
"unistd.h"
HAVE_FDATASYNC
)
CHECK_FUNCTION_EXISTS
(
fdatasync HAVE_FDATASYNC
)
CHECK_SYMBOL_EXISTS
(
fdatasync
"unistd.h"
HAVE_DECL_FDATASYNC
)
CHECK_FUNCTION_EXISTS
(
fesetround HAVE_FESETROUND
)
CHECK_FUNCTION_EXISTS
(
fesetround HAVE_FESETROUND
)
CHECK_FUNCTION_EXISTS
(
fpsetmask HAVE_FPSETMASK
)
CHECK_FUNCTION_EXISTS
(
fpsetmask HAVE_FPSETMASK
)
CHECK_FUNCTION_EXISTS
(
fseeko HAVE_FSEEKO
)
CHECK_FUNCTION_EXISTS
(
fseeko HAVE_FSEEKO
)
...
...
configure.in
View file @
9be9ad7b
...
@@ -2120,6 +2120,13 @@ MYSQL_TYPE_QSORT
...
@@ -2120,6 +2120,13 @@ MYSQL_TYPE_QSORT
AC_FUNC_UTIME_NULL
AC_FUNC_UTIME_NULL
AC_FUNC_VPRINTF
AC_FUNC_VPRINTF
AC_CHECK_DECLS
([
fdatasync],,,
[
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
])
AC_CHECK_FUNCS
(
alarm bfill bmove bsearch bzero
\
AC_CHECK_FUNCS
(
alarm bfill bmove bsearch bzero
\
chsize cuserid fchmod fcntl
\
chsize cuserid fchmod fcntl
\
fdatasync fesetround finite fpresetsticky fpsetmask fsync ftruncate
\
fdatasync fesetround finite fpresetsticky fpsetmask fsync ftruncate
\
...
...
mysys/my_sync.c
View file @
9be9ad7b
...
@@ -58,7 +58,7 @@ int my_sync(File fd, myf my_flags)
...
@@ -58,7 +58,7 @@ int my_sync(File fd, myf my_flags)
/* Some file systems don't support F_FULLFSYNC and fail above: */
/* Some file systems don't support F_FULLFSYNC and fail above: */
DBUG_PRINT
(
"info"
,(
"fcntl(F_FULLFSYNC) failed, falling back"
));
DBUG_PRINT
(
"info"
,(
"fcntl(F_FULLFSYNC) failed, falling back"
));
#endif
#endif
#if defined(HAVE_FDATASYNC)
#if defined(HAVE_FDATASYNC)
&& HAVE_DECL_FDATASYNC
res
=
fdatasync
(
fd
);
res
=
fdatasync
(
fd
);
#elif defined(HAVE_FSYNC)
#elif defined(HAVE_FSYNC)
res
=
fsync
(
fd
);
res
=
fsync
(
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