mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-21 23:56:54 +02:00
added explicit connector registration
This commit is contained in:
@@ -30,6 +30,9 @@ int main(int argc, char** argv)
|
||||
typedef Poco::Tuple<std::string, std::string, int> Person;
|
||||
typedef std::vector<Person> People;
|
||||
|
||||
// register SQLite connector
|
||||
Poco::Data::SQLite::Connector::registerConnector();
|
||||
|
||||
// create a session
|
||||
Session session("SQLite", "sample.db");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user