Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#3143 closed defect (fixed)

OGR special fields appearing in joined feature attributes

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone:
Component: OGR_SF Version: 1.5.4
Severity: normal Keywords: join
Cc: assefa

Description

The command:

 ogrinfo autotest/ogr/data -sql 'select * from poly left join idlink2 on poly.eas_id = idlink2.name'

results in the fields F2-F5 being assigned special field values like the FID, geometry type, and WKT geometry.

Change History (4)

comment:1 Changed 12 years ago by warmerdam

Cc: assefa added
Status: newassigned
Version: unspecified1.5.4

Fixed, and a test introduced in trunk (r17645).

comment:2 Changed 12 years ago by warmerdam

Backported into 1.6 (r17646) and 1.5 (r17647) branches.

comment:3 Changed 12 years ago by warmerdam

Resolution: fixed
Status: assignedclosed

comment:4 Changed 8 years ago by Even Rouault

Milestone: 1.5.5

Milestone 1.5.5 deleted

Note: See TracTickets for help on using tickets.