summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2017-10-09 17:41:20 +0000
committerVladislav Vaintroub <wlad@mariadb.com>2017-10-10 06:19:50 +0000
commitfa7a1a57d9d73c0b834c86c9f366dab66b16a908 (patch)
treeb3ec7f77e649297481983ec4ee9a4cbad9689122 /sql/sql_table.cc
parentff2d9e125f7f2a70f67bc4e7ad40990139a1cf66 (diff)
downloadmariadb-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