[QGIS Commit] r14937 - trunk/qgis/src/providers/spatialite

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Dec 19 22:15:01 EST 2010


Author: brushtyler
Date: 2010-12-19 19:15:01 -0800 (Sun, 19 Dec 2010)
New Revision: 14937

Modified:
   trunk/qgis/src/providers/spatialite/qgsspatialiteprovider.cpp
Log:
Fix #3356


Modified: trunk/qgis/src/providers/spatialite/qgsspatialiteprovider.cpp
===================================================================
--- trunk/qgis/src/providers/spatialite/qgsspatialiteprovider.cpp	2010-12-17 16:14:18 UTC (rev 14936)
+++ trunk/qgis/src/providers/spatialite/qgsspatialiteprovider.cpp	2010-12-20 03:15:01 UTC (rev 14937)
@@ -231,7 +231,7 @@
         if ( type == NULL )
           type = "TEXT";
 
-        if ( name != mPrimaryKey )
+        if ( name == mPrimaryKey )
         {
           pkCount++;
           pkName = name;



More information about the QGIS-commit mailing list