mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-11-16 01:45:02 +00:00
* SharePtr fix for gcc 7.2 * Fix for Poco issue #2285 * Add missing fail() to sqlite test * Fix for testIllegalFilePath * Update SQLiteTest.cpp
This commit is contained in:
committed by
Aleksandar Fabijanic
parent
ad8249fc61
commit
dc47e79da9
@@ -165,6 +165,7 @@ void SessionImpl::open(const std::string& connect)
|
||||
if (sw.elapsedSeconds() >= tout)
|
||||
{
|
||||
close();
|
||||
poco_assert(_pDB);
|
||||
Utility::throwException(_pDB, rc);
|
||||
}
|
||||
else Thread::sleep(10);
|
||||
@@ -174,6 +175,10 @@ void SessionImpl::open(const std::string& connect)
|
||||
{
|
||||
throw ConnectionFailedException(ex.displayText());
|
||||
}
|
||||
catch (AssertionViolationException& ex)
|
||||
{
|
||||
throw ConnectionFailedException(ex.displayText());
|
||||
}
|
||||
|
||||
_connected = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user