From e0a1b88e828b28445a3e45ad0936f5480cfcd1ce Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 2 Jun 2021 21:23:26 +0200 Subject: Database: use shared sqlite handle --- src/iso19111/factory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3