summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2019-02-11 17:55:14 -0800
committerJason Wray <jason@mapbox.com>2019-02-12 11:46:58 -0800
commit3c40db45770ae39ebc283988f4e6411b70ee0bb0 (patch)
tree80717f8223420c0b919d6ada3ffa20b9bfd808c1
parent65cec8be3460ff5e086bef267a8349fe99f6f41d (diff)
downloadqtlocation-mapboxgl-3c40db45770ae39ebc283988f4e6411b70ee0bb0.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()) {