aboutsummaryrefslogtreecommitdiff
path: root/src/ctx.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-06-09 19:58:12 +0200
committerGitHub <noreply@github.com>2021-06-09 19:58:12 +0200
commit5436e8aa46f7fb6dd6c9853e5da7222d8e6607e1 (patch)
tree55a7ac8146c327d54a9423db8a66a8dbbf54709c /src/ctx.cpp
parentfae861c75adbc598393245f34ad8871a9aaecd44 (diff)
parent61e25ec859a34e68fa8c2dc99f951f3e970875df (diff)
downloadPROJ-5436e8aa46f7fb6dd6c9853e5da7222d8e6607e1.tar.gz
PROJ-5436e8aa46f7fb6dd6c9853e5da7222d8e6607e1.zip
Merge pull request #2738 from rouault/share_sqlite_handle
Share SQLite database handle among all contexts
Diffstat (limited to 'src/ctx.cpp')
-rw-r--r--src/ctx.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/ctx.cpp b/src/ctx.cpp
index cc9df6c3..5ec10b9e 100644
--- a/src/ctx.cpp
+++ b/src/ctx.cpp
@@ -116,17 +116,6 @@ projCppContext* pj_ctx::get_cpp_context()
return cpp_context;
}
-/**************************************************************************/
-/* safeAutoCloseDbIfNeeded() */
-/**************************************************************************/
-
-void pj_ctx::safeAutoCloseDbIfNeeded()
-{
- if (cpp_context) {
- cpp_context->autoCloseDbIfNeeded();
- }
-}
-
/************************************************************************/
/* set_search_paths() */
/************************************************************************/