Skip to content

Commit

Permalink
handle invalid gpkg on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
jclark118 committed Jan 5, 2024
1 parent 6055e23 commit a3e02f2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,8 @@ public List<List<GeoPackageTable>> regenerateTableList() {
String database = databasesIterator.next();

// Delete any databases with invalid headers
if (!manager.validateHeader(database)) {
if (!manager.validateHeader(database) ||
database.equalsIgnoreCase("ue3.db")) {
cache.removeAndClose(database);
if (manager.delete(database)) {
databasesIterator.remove();
Expand Down

0 comments on commit a3e02f2

Please sign in to comment.