Browse Source

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.
bb-10.3-georg
Marko Mäkelä 3 years ago
parent
commit
a8a27f1edf
  1. 8
      storage/innobase/fil/fil0fil.cc

8
storage/innobase/fil/fil0fil.cc

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

Loading…
Cancel
Save