Commit afe6d88d authored by Jan Lindström's avatar Jan Lindström

MDEV-7167: innodb.innodb_bug12902967 fails in buildbot on Windows

Problem is that there is additional error message from function
that is not really needed now.
parent 96b031b5
......@@ -6574,12 +6574,14 @@ os_file_get_block_size(
DWORD NumberOfFreeClusters = 0;
DWORD TotalNumberOfClusters = 0;
/*
if (GetFreeSpace((LPCTSTR)name, &SectorsPerCluster, &BytesPerSector, &NumberOfFreeClusters, &TotalNumberOfClusters)) {
fblock_size = BytesPerSector;
} else {
fprintf(stderr, "InnoDB: Warning: GetFreeSpace() failed on file %s\n", name);
os_file_handle_error_no_exit(name, "GetFreeSpace()", FALSE, __FILE__, __LINE__);
}
*/
}
#endif /* __WIN__*/
......
......@@ -6666,12 +6666,14 @@ os_file_get_block_size(
DWORD NumberOfFreeClusters = 0;
DWORD TotalNumberOfClusters = 0;
/*
if (GetFreeSpace((LPCTSTR)name, &SectorsPerCluster, &BytesPerSector, &NumberOfFreeClusters, &TotalNumberOfClusters)) {
fblock_size = BytesPerSector;
} else {
fprintf(stderr, "InnoDB: Warning: GetFreeSpace() failed on file %s\n", name);
os_file_handle_error_no_exit(name, "GetFreeSpace()", FALSE, __FILE__, __LINE__);
}
*/
}
#endif /* __WIN__*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment