Correct a bogus comment.

The logic on Windows was originally simplified in
commit 4bca1a786f
for storage/xtradb and later in
commit 6304c0bfc7
for storage/innobase.
This commit is contained in:
Marko Mäkelä 2022-07-26 11:03:53 +03:00
parent 3bf10012e0
commit a8a27f1edf

View file

@ -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,