Skip to content

Commit adba08c

Browse files
m-kuhnelpaso
andauthored
Update src/providers/ogr/qgsogrprovider.cpp
Co-Authored-By: elpaso <elpaso@itopen.it>
1 parent f454827 commit adba08c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/ogr/qgsogrprovider.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3622,7 +3622,7 @@ QSet<QVariant> QgsOgrProvider::uniqueValues( int index, int limit ) const
36223622
QByteArray sql = "SELECT DISTINCT " + quotedIdentifier( textEncoding()->fromUnicode( fld.name() ) );
36233623

36243624
// GPKG/SQLite fid
3625-
// For GPKG an SQLITE drivers PK fields are not exposed as real fields, (and OGR_F_GetFID only
3625+
// For GPKG and SQLITE drivers PK fields are not exposed as real fields, (and OGR_F_GetFID only
36263626
// works with GPKG), so we are adding an extra column that will become index 0
36273627
// See https://issues.qgis.org/issues/21311
36283628
if ( ( mGDALDriverName == QLatin1String( "GPKG" ) || mGDALDriverName == QLatin1String( "SQLite" ) )

0 commit comments

Comments
 (0)