We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e84e134 commit 4ee00a2Copy full SHA for 4ee00a2
extra/innochecksum.cc
@@ -1893,6 +1893,18 @@ int main(
1893
}
1894
1895
if (ferror(fil_in)) {
1896
+#ifdef _AIX
1897
+ /*
1898
+ AIX fseeko can go past eof without error.
1899
+ the error occurs on read, hence output the
1900
+ same error here as would show up on other
1901
+ platforms. This shows up in the mtr test
1902
+ innodb_zip.innochecksum_3-4k,crc32,innodb
1903
+ */
1904
+ if (errno == EFBIG) {
1905
+ goto unexpected_eof;
1906
+ }
1907
+#endif
1908
fprintf(stderr, "Error reading " ULINTPF " bytes",
1909
physical_page_size);
1910
perror(" ");
0 commit comments