Skip to content
Permalink
Browse files

update feature id of added features (fix #6534)

  • Loading branch information
brushtyler committed Oct 18, 2012
1 parent 9cb43a5 commit faf46b61a4654a600fb4ccd587ffbf7e2d60f2a1
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/providers/spatialite/qgsspatialiteprovider.cpp
@@ -3731,6 +3731,8 @@ bool QgsSpatiaLiteProvider::addFeatures( QgsFeatureList & flist )

if ( ret == SQLITE_DONE || ret == SQLITE_ROW )
{
// update feature id
features->setFeatureId( sqlite3_last_insert_rowid( sqliteHandle ) );
numberFeatures++;
}
else

0 comments on commit faf46b6

Please sign in to comment.
You can’t perform that action at this time.