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:
Markus Mäkelä
2021-08-17 11:44:22 +03:00
parent aa6a1a58eb
commit b4edc74926
9 changed files with 33 additions and 33 deletions

View File

@ -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 */