Reset connection when a session is returned to the SessionPool

This commit is contained in:
Vojtěch Erben
2018-11-14 15:50:17 +01:00
parent 8d95644bad
commit 6e6ad28a1f
10 changed files with 41 additions and 0 deletions

View File

@@ -148,6 +148,12 @@ void PooledSessionImpl::close()
}
void PooledSessionImpl::resetConnection()
{
access()->resetConnection();
}
const std::string& PooledSessionImpl::connectorName() const
{
return access()->connectorName();