Commit a8a27f1e authored by Marko Mäkelä's avatar Marko Mäkelä

Correct a bogus comment.

The logic on Windows was originally simplified in
commit 4bca1a78
for storage/xtradb and later in
commit 6304c0bf
for storage/innobase.
parent 3bf10012
......@@ -594,13 +594,7 @@ static bool fil_node_open_file(fil_node_t* node)
&& node == UT_LIST_GET_FIRST(space->chain)
&& srv_startup_is_before_trx_rollback_phase
&& !undo::Truncate::was_tablespace_truncated(space->id))) {
/* We do not know the size of the file yet. First we
open the file in the normal mode, no async I/O here,
for simplicity. Then do some checks, and close the
file again. NOTE that we could not use the simple
file read function os_file_read() in Windows to read
from a file opened for async I/O! */
/* We do not know the size of the file yet. */
retry:
node->handle = os_file_create(
innodb_data_file_key, node->name,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment