Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
2.0.5
-
None
-
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
dcb_printf(..., "...%d\n", ...);
|
the following should be used
dcb_printf(..., "...%" PRId64 "\n", ...);
|
The use of %d leads to wrong output when MaxScale has been running for a long period.