Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for NULL instead of valid (because NULL is valid). The old behavior was relying on the fact that a NULL attribute was stored by OGR as an empty string instead of a NULL QVariant of the corresponding field type, the conversion of the QVariant( QString()) to a numeric field was checked (and it was failing) so everything worked (at least for non-string types). (cherry picked from commit d66d66e)
- Loading branch information
1 parent
2bf54c1
commit 496b10b
Showing
2 changed files
with
5 additions
and
5 deletions.
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