MXS-3609: Use 64-bit integers for statistics
This should be enough to avoid the problem of integer overflow in 2.4.
This commit is contained in:
@ -317,7 +317,7 @@ void RWSplit::diagnostics(DCB* dcb)
|
||||
"\tNumber of router sessions: %" PRIu64 "\n",
|
||||
stats().n_sessions);
|
||||
dcb_printf(dcb,
|
||||
"\tCurrent no. of router sessions: %d\n",
|
||||
"\tCurrent no. of router sessions: %lu\n",
|
||||
service()->stats.n_current);
|
||||
dcb_printf(dcb,
|
||||
"\tNumber of queries forwarded: %" PRIu64 "\n",
|
||||
|
||||
Reference in New Issue
Block a user