Skip to content
Snippets Groups Projects
Commit 736849d9 authored by Steven Murray's avatar Steven Murray
Browse files

Modified SchemaCreatingSqliteCatalogue.cpp to use autocommitMode default of executeNonQueries()

parent 124e7fbd
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ void SchemaCreatingSqliteCatalogue::createCatalogueSchema() {
try {
const SqliteCatalogueSchema schema;
auto conn = m_connPool.getConn();
conn.executeNonQueries(schema.sql, rdbms::AutocommitMode::AUTOCOMMIT_ON);
conn.executeNonQueries(schema.sql);
} catch(exception::Exception &ex) {
throw exception::Exception(std::string(__FUNCTION__) + " failed: " + ex.getMessage().str());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment