Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OGR] Ensure subset string is set when reopening dataset
QgsOgrProvider::reloadData calls close() and open(), which in turn called setSubsetString with mSubsetString. Since setSubsetString does nothing if the passed sql string is equal to mSubsetString, this resulted in the substring not being set on re-open. This commit clears mSubsetString before calling setSubsetString, and blocks signals when calling setSubsetString to avoid an endless recursion of emit dataChanged -> reload. Fixes #17122.
- Loading branch information
Showing with 16 additions and 2 deletions.