summaryrefslogtreecommitdiff
path: root/include/mbgl/storage/default/sqlite_cache.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/storage/default/sqlite_cache.hpp')
-rw-r--r--include/mbgl/storage/default/sqlite_cache.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mbgl/storage/default/sqlite_cache.hpp b/include/mbgl/storage/default/sqlite_cache.hpp
index 8f2746561c..fe80a41b52 100644
--- a/include/mbgl/storage/default/sqlite_cache.hpp
+++ b/include/mbgl/storage/default/sqlite_cache.hpp
@@ -38,6 +38,7 @@ private:
void process(StopAction &action);
void createDatabase();
+ void createSchema();
const std::string path;
uv_loop_t *loop = nullptr;
@@ -45,6 +46,7 @@ private:
std::thread thread;
std::unique_ptr<::mapbox::sqlite::Database> db;
std::unique_ptr<::mapbox::sqlite::Statement> getStmt, putStmt, refreshStmt;
+ bool schema = false;
};
}