Skip to content

Commit

Permalink
fix 1050174
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Apr 9, 2016
1 parent 1050174 commit fa3aba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/spatialite/qgsspatialiteprovider.cpp
Expand Up @@ -4031,7 +4031,7 @@ bool QgsSpatiaLiteProvider::changeAttributeValues( const QgsChangedAttributesMap
// Field was missing - shouldn't happen
}
}
sql += QString( " WHERE %1=%2" ).arg( quotedIdentifier( mPrimaryKey ), fid );
sql += QString( " WHERE %1=%2" ).arg( quotedIdentifier( mPrimaryKey ) ).arg( fid );

ret = sqlite3_exec( mSqliteHandle, sql.toUtf8().constData(), nullptr, nullptr, &errMsg );
if ( ret != SQLITE_OK )
Expand Down

0 comments on commit fa3aba3

Please sign in to comment.