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 faf46b6
Showing 1 changed file with 2 additions and 0 deletions.
@@ -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.