From e11cdcfe0fe526fe8f9b2cf61da2d241cc34f8aa Mon Sep 17 00:00:00 2001 From: zhiru Date: Wed, 26 Jun 2019 14:07:04 +0800 Subject: [PATCH] change conns_in_use_ in connection pool to signed int Former-commit-id: 4c4c2f661deb6f70c2c0b3b0bbe1a67ec182a4aa --- cpp/src/db/MySQLConnectionPool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/db/MySQLConnectionPool.h b/cpp/src/db/MySQLConnectionPool.h index bd047d56..63ae6582 100644 --- a/cpp/src/db/MySQLConnectionPool.h +++ b/cpp/src/db/MySQLConnectionPool.h @@ -94,7 +94,7 @@ protected: private: // Number of connections currently in use - unsigned int conns_in_use_; + int conns_in_use_; // Our connection parameters std::string db_, user_, password_, server_; -- GitLab