Please sign in to comment.
Fix QgsFeature default ctor set fid to 0
The QgsFeature default constructors initialized feature id to 0, which is a valid feature id instead of initializing it fo FID_NULL. This was just wrong and broke the validator for UNIQUE constraints in case a feature with fid 0 existed in the data provider. Fixes #36962
- Loading branch information
Showing with 39 additions and 8 deletions.