封了一层回收mysql链接的函数
解决了表面上的内存泄漏
30个链接 在4MB 左右
而新建 返回到池 在2.5 左右
注:后续好好看一下 mysqlpp 的连接池内容
Grab a free connection from the pool.
This method creates a new connection if an unused one doesn't exist, and destroys any that have remained unused for too long. If there is more than one free connection, we return the most recently used one; this allows older connections to die off over time when the caller's need for connections decreases. Do not delete the returned pointer. This object manages the lifetime of connection objects it creates.
Return values
a pointer to the connection