[MDEV-22752] disks plugin does not work on 32bit systems Created: 2020-05-29 Updated: 2020-06-22 Resolved: 2020-06-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Plugins |
| Affects Version/s: | 10.1, 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.5.4, 10.1.46, 10.2.33, 10.3.24, 10.4.14 |
| Type: | Bug | Priority: | Major |
| Reporter: | Oleksandr Byelkin | Assignee: | Rucha Deodhar |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Description |
|
https://buildbot.mariadb.org/#/builders/50/builds/11/steps/5/logs/stdio it shoud uses size_t instead of long for sizes. Also more tests are welcome.
|
| Comments |
| Comment by Vladislav Vaintroub [ 2020-05-29 ] |
|
it should actually use ulonglong, not size_t and especially not long . Never use long, it serves no purpose. |
| Comment by Vladislav Vaintroub [ 2020-05-29 ] |
|
size_t total = (info.f_frsize * info.f_blocks) / 1024; that stuff needs rethinking , definitely. |
| Comment by Rucha Deodhar [ 2020-06-16 ] |
|
Duplicate: https://jira.mariadb.org/browse/MDEV-22834 |