aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-06-02 21:23:26 +0200
committerEven Rouault <even.rouault@spatialys.com>2021-06-03 11:29:16 +0200
commite0a1b88e828b28445a3e45ad0936f5480cfcd1ce (patch)
tree5531740d1d9e39b35bd6bac7f3eb32d5cc4167ad
parent590840d6ff03090edb71ba6f9ad26c3a1c4e95e2 (diff)
downloadPROJ-e0a1b88e828b28445a3e45ad0936f5480cfcd1ce.tar.gz
PROJ-e0a1b88e828b28445a3e45ad0936f5480cfcd1ce.zip
Database: use shared sqlite handle
-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;
}