Imperfectly fixed problem where attributes aren't displayed if the primary

key is not of type int4 (bug 1042706). Support for a unique id key field needs
to be added to the provider. Support for keys other than int4 will require
changing QgsFeature to a template class and other major architectural changes.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2108 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
gsherman 2004-10-08 04:57:48 +00:00
parent f5c424a8d6
commit 09ae8566f5
2 changed files with 647 additions and 609 deletions

File diff suppressed because it is too large Load Diff

View File

@ -238,6 +238,10 @@ private:
* Index (column number) of the primary key * Index (column number) of the primary key
*/ */
int primaryKeyIndex; int primaryKeyIndex;
/**
* Data type for the primary key
*/
QString primaryKeyType;
/** /**
* Name of the geometry column in the table * Name of the geometry column in the table
*/ */