diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-04-12 09:26:02 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-04-12 09:26:02 +0300 |
commit | ca3bbf4c0c40c784a464485eb660e88949203db9 (patch) | |
tree | abe28da3ea31e1bf14c265441ad458a982801dbc /extra | |
parent | bc75f7ed6d81138f8c2d8d2c800b9cf55bbaff7d (diff) | |
parent | bf70532e3d64011e0d5319317fc938539fc42c28 (diff) | |
download | mariadb-git-ca3bbf4c0c40c784a464485eb660e88949203db9.tar.gz |
Merge 10.5 into 10.6
Diffstat (limited to 'extra')
-rw-r--r-- | extra/innochecksum.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/innochecksum.cc b/extra/innochecksum.cc index befd89290c1..4dc65c8d9bc 100644 --- a/extra/innochecksum.cc +++ b/extra/innochecksum.cc @@ -1790,6 +1790,18 @@ unexpected_eof: } if (ferror(fil_in)) { +#ifdef _AIX + /* + AIX fseeko can go past eof without error. + the error occurs on read, hence output the + same error here as would show up on other + platforms. This shows up in the mtr test + innodb_zip.innochecksum_3-4k,crc32,innodb + */ + if (errno == EFBIG) { + goto unexpected_eof; + } +#endif fprintf(stderr, "Error reading " ULINTPF " bytes", physical_page_size); perror(" "); |