summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
Diffstat (limited to 'platform')
-rw-r--r--platform/default/sqlite3.hpp4
-rw-r--r--platform/qt/src/sqlite3.cpp4
2 files changed, 0 insertions, 8 deletions
diff --git a/platform/default/sqlite3.hpp b/platform/default/sqlite3.hpp
index 52cc3f8fc5..8686c55666 100644
--- a/platform/default/sqlite3.hpp
+++ b/platform/default/sqlite3.hpp
@@ -14,10 +14,6 @@ enum OpenFlag : int {
ReadOnly = 0x00000001,
ReadWrite = 0x00000002,
Create = 0x00000004,
- NoMutex = 0x00008000,
- FullMutex = 0x00010000,
- SharedCache = 0x00020000,
- PrivateCache = 0x00040000,
};
enum class ResultCode : int {
diff --git a/platform/qt/src/sqlite3.cpp b/platform/qt/src/sqlite3.cpp
index 9617bac6cd..2ca09fd3ad 100644
--- a/platform/qt/src/sqlite3.cpp
+++ b/platform/qt/src/sqlite3.cpp
@@ -113,10 +113,6 @@ mapbox::util::variant<Database, Exception> Database::tryOpen(const std::string &
if (!connectOptions.isEmpty()) connectOptions.append(';');
connectOptions.append("QSQLITE_OPEN_READONLY");
}
- if (flags & OpenFlag::SharedCache) {
- if (!connectOptions.isEmpty()) connectOptions.append(';');
- connectOptions.append("QSQLITE_ENABLE_SHARED_CACHE");
- }
db.setConnectOptions(connectOptions);
db.setDatabaseName(QString(filename.c_str()));