mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-07 11:24:30 +02:00
getConnectionTimeout of SQLite DB wrapper returns wrong value (in milliseconds, should be in seconds) #1729
This commit is contained in:
@@ -253,6 +253,9 @@ SQLiteTest::~SQLiteTest()
|
||||
void SQLiteTest::testBinding()
|
||||
{
|
||||
Session tmp (Poco::Data::SQLite::Connector::KEY, "dummy.db");
|
||||
assert (tmp.getConnectionTimeout() == Session::LOGIN_TIMEOUT_DEFAULT);
|
||||
tmp.setConnectionTimeout(5);
|
||||
assert (tmp.getConnectionTimeout() == 5);
|
||||
assert (tmp.isConnected());
|
||||
std::string tableName("Simpsons");
|
||||
std::string lastName("Simpson");
|
||||
|
Reference in New Issue
Block a user