mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
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.
DB Manager * Copyright (c) 2011 Giuseppe Sucameli DB Manager is a database manager plugin for QGIS. It allows showing the DBs contents and run query on them. In this moment DB Manager supports the following DBMS backends: - PostgreSQL/PostGIS through the psycopg2 pymodule - SQLite/SpatiaLite using the pyspatialite pymodule - Oracle Spatial using PyQt QtSql module For more info about the project, see at the wiki page: http://qgis.org/wiki/DB_Manager_plugin_GSoC_2011 or visit my GitHub repository: https://github.com/brushtyler/db_manager