[MDEV-11127] innochecksum can't handle files larger than 4 GB on Windows Created: 2016-10-24 Updated: 2016-10-25 Resolved: 2016-10-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | 10.1.18 |
| Fix Version/s: | 10.0.28 |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | innochecksum, windows | ||
| Description |
|
A user noticed that when he tries to use innochecksum with some of his 4 GB or larger tablespace files on Windows, the tool reports that the file doesn't exist:
The error seems to be getting raised here: https://github.com/MariaDB/server/blob/ec5bd0d3855aa49afc3e356aa18b7edea3b7a18b/extra/innochecksum.cc#L709 The user thinks that this check is probably failing on Windows for files larger than 4 GB, because MariaDB is probably using one of the Windows stat functions that uses 32-bit file sizes:
https://msdn.microsoft.com/en-us/library/14h5k7ff.aspx wlad's analysis:
|
| Comments |
| Comment by Vladislav Vaintroub [ 2016-10-25 ] |
|
Fixed in 10.0.28 |