mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 19:10:20 +01:00
[SF 2505290] DB connection as URI (MySQL not tested!)
This commit is contained in:
@@ -44,6 +44,7 @@ namespace Data {
|
||||
|
||||
|
||||
PooledSessionImpl::PooledSessionImpl(PooledSessionHolder* pHolder):
|
||||
SessionImpl(pHolder->session()->connectionString()),
|
||||
_pHolder(pHolder, true)
|
||||
{
|
||||
}
|
||||
@@ -113,6 +114,12 @@ void PooledSessionImpl::close()
|
||||
}
|
||||
|
||||
|
||||
const std::string& PooledSessionImpl::connectorName()
|
||||
{
|
||||
return access()->connectorName();
|
||||
}
|
||||
|
||||
|
||||
void PooledSessionImpl::setFeature(const std::string& name, bool state)
|
||||
{
|
||||
access()->setFeature(name, state);
|
||||
|
||||
Reference in New Issue
Block a user