summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2019-02-11 17:55:14 -0800
committerJason Wray <friedbunny@users.noreply.github.com>2019-02-14 10:51:49 -0800
commit5a5b8520cc8ffb919507c3be5e160133f5ab5a2f (patch)
tree66be97fb433c4d6ec87eb70824e0823c84c57f40
parent8d31a5a7e2fdfaab78658f25813d1127508ef0d8 (diff)
downloadqtlocation-mapboxgl-5a5b8520cc8ffb919507c3be5e160133f5ab5a2f.tar.gz
[core] Remove old sqlite3 usage note
-rw-r--r--platform/default/src/mbgl/storage/sqlite3.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/platform/default/src/mbgl/storage/sqlite3.cpp b/platform/default/src/mbgl/storage/sqlite3.cpp
index 0017dc45db..df60fd05e0 100644
--- a/platform/default/src/mbgl/storage/sqlite3.cpp
+++ b/platform/default/src/mbgl/storage/sqlite3.cpp
@@ -276,14 +276,6 @@ template <> void Query::bind(int offset, const char *value) {
stmt.impl->check(sqlite3_bind_text(stmt.impl->stmt, offset, value, -1, SQLITE_STATIC));
}
-// We currently cannot use sqlite3_bind_blob64 / sqlite3_bind_text64 because they
-// were introduced in SQLite 3.8.7, and we need to support earlier versions:
-// Android 11: 3.7
-// Android 21: 3.8
-// Android 24: 3.9
-// Per https://developer.android.com/reference/android/database/sqlite/package-summary.
-// The first iOS version with 3.8.7+ was 9.0, with 3.8.8.
-
void Query::bind(int offset, const char * value, std::size_t length, bool retain) {
assert(stmt.impl);
if (length > std::numeric_limits<int>::max()) {