diff options
author | Jan Lindström <jan.lindstrom@skysql.com> | 2014-10-28 17:09:56 +0200 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@skysql.com> | 2014-10-28 17:09:56 +0200 |
commit | 3acdafebc927e55b69a788cafb8e1e2a174b5cac (patch) | |
tree | 3e255533dea7ad54e24a9517f8e846cbe9fb7f95 | |
parent | 775acf1bc0457589e58ea84d334265b28e1ed6e6 (diff) | |
download | mariadb-git-bb-10.1-4ksectors.tar.gz |
Fix typo.bb-10.1-4ksectors
-rw-r--r-- | storage/innobase/os/os0file.cc | 2 | ||||
-rw-r--r-- | storage/xtradb/os/os0file.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/os/os0file.cc b/storage/innobase/os/os0file.cc index 01b257551b7..68e024b3481 100644 --- a/storage/innobase/os/os0file.cc +++ b/storage/innobase/os/os0file.cc @@ -6555,7 +6555,7 @@ os_file_get_block_size( DWORD TotalNumberOfClusters = 0; if (GetFreeSpace((LPCTSTR)name, &SectorsPerCluster, &BytesPerSector, &NumberOfFreeClusters, &TotalNumberOfClusters)) { - fblock_size = ByterPerSector; + fblock_size = BytesPerSector; fprintf(stderr, "InnoDB: [Note]: Using %ld file block size\n", fblock_size); } else { fprintf(stderr, "InnoDB: Warning: GetFreeSpace() failed on file %s\n", name); diff --git a/storage/xtradb/os/os0file.cc b/storage/xtradb/os/os0file.cc index b6815b415b9..4aeb7654c69 100644 --- a/storage/xtradb/os/os0file.cc +++ b/storage/xtradb/os/os0file.cc @@ -6657,7 +6657,7 @@ os_file_get_block_size( DWORD TotalNumberOfClusters = 0; if (GetFreeSpace((LPCTSTR)name, &SectorsPerCluster, &BytesPerSector, &NumberOfFreeClusters, &TotalNumberOfClusters)) { - fblock_size = ByterPerSector; + fblock_size = BytesPerSector; fprintf(stderr, "InnoDB: [Note]: Using %ld file block size\n", fblock_size); } else { fprintf(stderr, "InnoDB: Warning: GetFreeSpace() failed on file %s\n", name); |