Opened 6 years ago
Last modified 5 years ago
#3763 new defect
db.out.ogr Fails with bogus overwrite error
Reported by: | micha | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.8.3 |
Component: | Database | Version: | unspecified |
Keywords: | Cc: | ||
CPU: | Unspecified | Platform: | Unspecified |
Description
The current script for db.out.ogr tests for existence of a file named as <input>.dbf. If the file exists and overwrite is not specified, the script exists. This test is performed even if the format is not dbf. So all of the other formats will fail if such a dbf file already exists, even though those formats do not touch the dbf file.
For the case of dbf output the script deletes all existing shapefile components (*.shp, *.shx) so the test is certainly necessary for dbf format. But I think it is unnecessary for the other formats.
Attached is a suggested diff.
Attachments (1)
Change History (2)
by , 6 years ago
Attachment: | db.out.ogr.diff added |
---|
comment:1 by , 5 years ago
Milestone: | → 7.8.3 |
---|