Skip to content

Commit fa3aba3

Browse files
committed
fix 1050174
1 parent 1050174 commit fa3aba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/spatialite/qgsspatialiteprovider.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4031,7 +4031,7 @@ bool QgsSpatiaLiteProvider::changeAttributeValues( const QgsChangedAttributesMap
40314031
// Field was missing - shouldn't happen
40324032
}
40334033
}
4034-
sql += QString( " WHERE %1=%2" ).arg( quotedIdentifier( mPrimaryKey ), fid );
4034+
sql += QString( " WHERE %1=%2" ).arg( quotedIdentifier( mPrimaryKey ) ).arg( fid );
40354035

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

0 commit comments

Comments
 (0)