Please sign in to comment.
[bugfix][DbManager] 14110 - Error fetching layer indexes with recent …
…sqlite version Fixes #14110 The method `getTableIndexes`, situated in line 371 of the file `db_manager/db_plugins/spatialite/connector.py`, expected to get 3 fields from the sqlite method `PRAGMA index_list` . In recent versions of SQLite, since 3.8.9, though, this method now returns 5 fields. This commit fixes this issue by checking the length of columns returned by the method.
- Loading branch information
Showing with 8 additions and 1 deletion.