Opened 11 years ago

Closed 11 years ago

#5234 closed defect (wontfix)

Zero records CSV file export semantic change

Reported by: strk Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: 1.10.1
Severity: normal Keywords:
Cc:

Description

GDAL-1.9 used to output an empty CSV for a no-records input, while 1.10 outputs an header-only CSV:

$ ogr2ogr -f csv /dev/stdout "PG:" -sql "SELECT 'a' as name WHERE false"
name,
$

The change isn't documented in the NEWS file

Change History (1)

comment:1 by Even Rouault, 11 years ago

Milestone: 1.10.2
Resolution: wontfix
Status: newclosed

Looks like it was r25806 that was indeed forgotten in the NEWS. But that's too late now to mention, and a bit anedoctical to be worth a press release ;-)

Note: See TracTickets for help on using tickets.