diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-02-09 11:16:55 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-02-10 15:40:20 -0800 |
commit | 591012401072e63b89071787d90bf5ae4362dca1 (patch) | |
tree | 829857bd6e188215c4cb19af4db17b5199d34e12 /platform/default/sqlite3.hpp | |
parent | ff15bd51b94c96f169f0b3800fa04a368c5834c6 (diff) | |
download | qtlocation-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.hpp | 1 |
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; |