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:
@ -162,7 +162,7 @@ public:
|
||||
/* Server connection and usage statistics */
|
||||
struct ConnStats
|
||||
{
|
||||
int n_connections = 0; /**< Number of connections */
|
||||
uint64_t n_connections = 0; /**< Number of connections */
|
||||
int n_current = 0; /**< Current connections */
|
||||
int n_current_ops = 0; /**< Current active operations */
|
||||
int n_persistent = 0; /**< Current persistent pool */
|
||||
|
||||
Reference in New Issue
Block a user