mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 11:31:53 +01:00
Reset connection when a session is returned to the SessionPool
This commit is contained in:
@@ -257,6 +257,13 @@ bool SessionImpl::hasTransactionIsolation(Poco::UInt32 ti) const
|
||||
}
|
||||
|
||||
|
||||
void SessionImpl::resetConnection()
|
||||
{
|
||||
if (_connected)
|
||||
_handle.resetConnection();
|
||||
}
|
||||
|
||||
|
||||
void SessionImpl::close()
|
||||
{
|
||||
if (_connected)
|
||||
|
||||
Reference in New Issue
Block a user