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
ec9286a9
Commit
ec9286a9
authored
Sep 16, 2009
by
Igor Babaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix of bug #417751 by Yasufumi Kinoshita.
parent
bfe7399a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
storage/xtradb/srv/srv0start.c
storage/xtradb/srv/srv0start.c
+14
-2
No files found.
storage/xtradb/srv/srv0start.c
View file @
ec9286a9
...
...
@@ -1119,8 +1119,14 @@ innobase_start_or_create_for_mysql(void)
os_aio_use_native_aio
=
FALSE
;
}
else
{
/* On Win 2000 and XP use async i/o */
os_aio_use_native_aio
=
TRUE
;
/* On Win 2000 and XP currently native async i/o
is not used for xtradb by default */
//os_aio_use_native_aio = TRUE;
os_aio_use_native_aio
=
FALSE
;
fprintf
(
stderr
,
"InnoDB: Windows native async i/o is disabled as default.
\n
"
"InnoDB: It is not applicable for the current"
" multi io threads implementation.
\n
"
);
}
#endif
if
(
srv_file_flush_method_str
==
NULL
)
{
...
...
@@ -1156,6 +1162,12 @@ innobase_start_or_create_for_mysql(void)
}
else
if
(
0
==
ut_strcmp
(
srv_file_flush_method_str
,
"async_unbuffered"
))
{
srv_win_file_flush_method
=
SRV_WIN_IO_UNBUFFERED
;
os_aio_use_native_aio
=
TRUE
;
srv_n_read_io_threads
=
srv_n_write_io_threads
=
1
;
fprintf
(
stderr
,
"InnoDB: 'async_unbuffered' was detected as innodb_flush_method.
\n
"
"InnoDB: Windows native async i/o is enabled.
\n
"
"InnoDB: And io threads are restricted.
\n
"
);
#endif
}
else
{
fprintf
(
stderr
,
...
...
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