mariadb/storage/innobase/os
Vladislav Vaintroub 3304004a57 MDEV-21260 Innodb/Wjndows do not report error when trying open volumes on UNC paths
fil_node_t::find_metadata() tries to find out whether file
is on an SSD, and the disk sector size.
On Windows, it opens the corresponding volume for finding this data.

This does not go well, if datadir is on network path/UNC. The volume name
is invalid, CreateFile() function fails, and a cryptic (from the end user
perspective) error is reported. Like this

[ERROR] InnoDB: File \\.\\\workpc\work: 'CreateFile()' returned OS error 203.

The fix is not to report error if open volume failed, and the path was not
on fixed disk, i.e not on HDD or SSD. This is not a fatal error, there is
a fallback anyway.
2019-12-12 11:50:18 +01:00
..
os0event.cc Merge 10.3 into 10.4 2019-07-25 18:42:06 +03:00
os0file.cc MDEV-21260 Innodb/Wjndows do not report error when trying open volumes on UNC paths 2019-12-12 11:50:18 +01:00
os0proc.cc Merge branch '10.3' into 10.4 2019-05-19 20:55:37 +02:00
os0thread.cc Merge branch '10.3' into 10.4 2019-12-09 15:09:41 +01:00