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
24fe09ac
Commit
24fe09ac
authored
Oct 11, 2001
by
monty@work.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
d121c2cd
6a3f93f4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
innobase/configure.in
innobase/configure.in
+1
-1
innobase/os/os0file.c
innobase/os/os0file.c
+4
-0
No files found.
innobase/configure.in
View file @
24fe09ac
...
@@ -38,7 +38,7 @@ AC_CHECK_HEADERS(aio.h sched.h)
...
@@ -38,7 +38,7 @@ AC_CHECK_HEADERS(aio.h sched.h)
AC_CHECK_SIZEOF(int, 4)
AC_CHECK_SIZEOF(int, 4)
AC_CHECK_FUNCS(sched_yield)
AC_CHECK_FUNCS(sched_yield)
AC_CHECK_FUNCS(fdatasync)
AC_CHECK_FUNCS(fdatasync)
AC_CHECK_FUNCS(localtime_r)
#AC_CHECK_FUNCS(localtime_r) # Already checked by MySQL
#AC_C_INLINE Already checked in MySQL
#AC_C_INLINE Already checked in MySQL
AC_C_BIGENDIAN
AC_C_BIGENDIAN
...
...
innobase/os/os0file.c
View file @
24fe09ac
...
@@ -603,6 +603,7 @@ os_file_pread(
...
@@ -603,6 +603,7 @@ os_file_pread(
#ifdef HAVE_PREAD
#ifdef HAVE_PREAD
return
(
pread
(
file
,
buf
,
n
,
offs
));
return
(
pread
(
file
,
buf
,
n
,
offs
));
#else
#else
{
ssize_t
ret
;
ssize_t
ret
;
ulint
i
;
ulint
i
;
...
@@ -624,6 +625,7 @@ os_file_pread(
...
@@ -624,6 +625,7 @@ os_file_pread(
os_mutex_exit
(
os_file_seek_mutexes
[
i
]);
os_mutex_exit
(
os_file_seek_mutexes
[
i
]);
return
(
ret
);
return
(
ret
);
}
#endif
#endif
}
}
...
@@ -660,6 +662,7 @@ os_file_pwrite(
...
@@ -660,6 +662,7 @@ os_file_pwrite(
return
(
ret
);
return
(
ret
);
#else
#else
{
ulint
i
;
ulint
i
;
/* Protect the seek / write operation with a mutex */
/* Protect the seek / write operation with a mutex */
...
@@ -691,6 +694,7 @@ os_file_pwrite(
...
@@ -691,6 +694,7 @@ os_file_pwrite(
os_mutex_exit
(
os_file_seek_mutexes
[
i
]);
os_mutex_exit
(
os_file_seek_mutexes
[
i
]);
return
(
ret
);
return
(
ret
);
}
#endif
#endif
}
}
#endif
#endif
...
...
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