[MERGE] Merge with 7.0
[FIX] sql_db: only perform the connection reset when actually planning to borrow that connection, not before, for obvious performance reasons
[FIX] sql_db: immediately remove the connections from the pool when detected to be dead
[MERGE] sql_db: improve performance of previous patch for auto-detecting dead connections

Avoid calling reset() on connections that are used +
only do it on the connection that is being returned,
which is much more efficient.
Launchpad automatic translations update.
Launchpad automatic translations update.
Launchpad automatic translations update.