Update SQLiteTileSource.java

Fix truncate for sqlite
This commit is contained in:
vshcherb 2018-11-24 10:55:49 +01:00 committed by GitHub
parent 65be31c340
commit 05414a3e2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -422,7 +422,7 @@ public class SQLiteTileSource implements ITileSource {
if (db == null || db.isReadOnly() || onlyReadonlyAvailable) { if (db == null || db.isReadOnly() || onlyReadonlyAvailable) {
return; return;
} }
db.execSQL("TRUNCATE TABLE tiles"); db.execSQL("DELETE FROM tiles");
} }
/** /**