aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/iso19111/factory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iso19111/factory.cpp b/src/iso19111/factory.cpp
index 768c64bb..24fef2a2 100644
--- a/src/iso19111/factory.cpp
+++ b/src/iso19111/factory.cpp
@@ -897,7 +897,7 @@ void DatabaseContext::Private::open(const std::string &databasePath,
}
}
- sqlite_handle_ = SQLiteHandle::open(path, ctx);
+ sqlite_handle_ = SQLiteHandleCache::get().getHandle(path, ctx);
databasePath_ = path;
}