mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 01:04:19 +01:00
Correct a bogus comment.
The logic on Windows was originally simplified in commit4bca1a786f
for storage/xtradb and later in commit6304c0bfc7
for storage/innobase.
This commit is contained in:
parent
3bf10012e0
commit
a8a27f1edf
1 changed files with 1 additions 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,
|
||||
|
|
Loading…
Add table
Reference in a new issue