[MXS-1218] Use correct conversion specifier when printing 64-bit integers Created: 2017-04-06 Updated: 2017-04-18 Resolved: 2017-04-18 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | 2.0.5 |
| Fix Version/s: | 2.0.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Johan Wikman | Assignee: | Esa Korhonen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 2017-31 |
| Description |
|
When the poll statistics are printed, the printf format specifier "%d" is used, even though the counters are 64-bit. Instead of
the following should be used
The use of %d leads to wrong output when MaxScale has been running for a long period. |