summaryrefslogtreecommitdiff
path: root/platform/default/sqlite3.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-02-09 11:16:55 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-02-10 15:40:20 -0800
commit591012401072e63b89071787d90bf5ae4362dca1 (patch)
tree829857bd6e188215c4cb19af4db17b5199d34e12 /platform/default/sqlite3.hpp
parentff15bd51b94c96f169f0b3800fa04a368c5834c6 (diff)
downloadqtlocation-mapboxgl-591012401072e63b89071787d90bf5ae4362dca1.tar.gz
[core] Reset SQLite statements after use in order to release locks
Diffstat (limited to 'platform/default/sqlite3.hpp')
-rw-r--r--platform/default/sqlite3.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/default/sqlite3.hpp b/platform/default/sqlite3.hpp
index 9e511ebaf9..13e92bf07f 100644
--- a/platform/default/sqlite3.hpp
+++ b/platform/default/sqlite3.hpp
@@ -81,6 +81,7 @@ public:
bool run();
void reset();
+ void clearBindings();
private:
sqlite3_stmt *stmt = nullptr;