Skip to content
Permalink
Browse files
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.
  • Loading branch information
dr-m committed Jul 26, 2022
1 parent 3bf1001 commit a8a27f1
Showing 1 changed file with 1 addition and 7 deletions.
@@ -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,

0 comments on commit a8a27f1

Please sign in to comment.