Skip to content

Commit

Permalink
Fix #3356
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14937 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
brushtyler committed Dec 20, 2010
1 parent 40d89d1 commit 68cf4d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/spatialite/qgsspatialiteprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ void QgsSpatiaLiteProvider::loadFields()
if ( type == NULL )
type = "TEXT";

if ( name != mPrimaryKey )
if ( name == mPrimaryKey )
{
pkCount++;
pkName = name;
Expand Down

0 comments on commit 68cf4d7

Please sign in to comment.