Update SQLiteTileSource.java
Fix truncate for sqlite
This commit is contained in:
parent
65be31c340
commit
05414a3e2c
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue