-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OGR provider] GPKG/SQLite: issue a 'UPDATE ... SET col_name = consta…
…nt' when updating all features (fixes qgis#53043) On the test case provided in qgis#53043: Before: ``` Start layer.getFeatures() without update layer.getFeatures() found 591904 features and took 0:00:06.561681 Start loop to update features Loop took 0:00:07.583642 Commitchanges took 0:00:33.213708 ``` After: ``` Start layer.getFeatures() without update layer.getFeatures() found 591904 features and took 0:00:06.572171 Start loop to update features Loop took 0:00:07.807320 Commitchanges took 0:00:03.322783 ``` So a 10x times improvement
- Loading branch information
Showing
2 changed files
with
166 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters