Bug report #21311

OGR provider returns an empty set for GPKG uniqueValues(0)

Added by Alessandro Pasotti almost 6 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:Alessandro Pasotti
Category:Data Provider/OGR
Affected QGIS version:3.5(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:29129

Description

... and issues
ERROR 1: Invalid index : 0

Associated revisions

Revision 1689c936
Added by Alessandro Pasotti almost 6 years ago

Fix unique values on GPKG pk

Fixes #21311

History

#1 Updated by Alessandro Pasotti almost 6 years ago

  • Subject changed from OGR provider return an empty set for GPKG uniqueValues(0) to OGR provider returns an empty set for GPKG uniqueValues(0)

#2 Updated by Alessandro Pasotti almost 6 years ago

  • Resolution set to fixed/implemented
  • Pull Request or Patch supplied changed from No to Yes
  • Status changed from Open to In Progress

Fixed in https://github.com/qgis/QGIS/pull/9203 , for SQLite (ogr) too

#3 Updated by Alessandro Pasotti over 5 years ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Closed

Also available in: Atom PDF