diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2017-10-09 17:41:20 +0000 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2017-10-10 06:19:50 +0000 |
commit | fa7a1a57d9d73c0b834c86c9f366dab66b16a908 (patch) | |
tree | b3ec7f77e649297481983ec4ee9a4cbad9689122 /sql/sql_table.cc | |
parent | ff2d9e125f7f2a70f67bc4e7ad40990139a1cf66 (diff) | |
download | mariadb-git-fa7a1a57d9d73c0b834c86c9f366dab66b16a908.tar.gz |
Windows : small optimization in os_is_sparse_file_supported()
Use GetFileInformationByHandleEx with FileAttributeTagInfo to query whether
the file is sparse. This saves 1 syscall, as GetFileInformationByHandle()
would additionally query volume info.
Diffstat (limited to 'sql/sql_table.cc')
0 files changed, 0 insertions, 0 deletions