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

InMemoryCatalogue connections now share the same database

parent 7856a9fc
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,8 @@ namespace catalogue {
//------------------------------------------------------------------------------
// constructor
//------------------------------------------------------------------------------
InMemoryCatalogue::InMemoryCatalogue(const uint64_t nbConns): SchemaCreatingSqliteCatalogue(":memory:", nbConns) {
InMemoryCatalogue::InMemoryCatalogue(const uint64_t nbConns):
SchemaCreatingSqliteCatalogue("file::memory:?cache=shared", nbConns) {
}
//------------------------------------------------------------------------------
......
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