Skip to content

Commit a8a27f1

Browse files
committed
Correct a bogus comment.
The logic on Windows was originally simplified in commit 4bca1a7 for storage/xtradb and later in commit 6304c0b for storage/innobase.
1 parent 3bf1001 commit a8a27f1

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

storage/innobase/fil/fil0fil.cc

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -594,13 +594,7 @@ static bool fil_node_open_file(fil_node_t* node)
594594
&& node == UT_LIST_GET_FIRST(space->chain)
595595
&& srv_startup_is_before_trx_rollback_phase
596596
&& !undo::Truncate::was_tablespace_truncated(space->id))) {
597-
/* We do not know the size of the file yet. First we
598-
open the file in the normal mode, no async I/O here,
599-
for simplicity. Then do some checks, and close the
600-
file again. NOTE that we could not use the simple
601-
file read function os_file_read() in Windows to read
602-
from a file opened for async I/O! */
603-
597+
/* We do not know the size of the file yet. */
604598
retry:
605599
node->handle = os_file_create(
606600
innodb_data_file_key, node->name,

0 commit comments

Comments
 (0)