id summary reporter owner description type status priority milestone component version severity resolution keywords cc 1298 GetNextFeature core dumps when ExecuteSQL used with distinct and query returns no results ethan@… warmerdam "{{{ I'm getting a core dump from the attached example script. It appears to be related to using ExecuteSQL with ""select distinct"" but only when the query returns no results. If I remove the ""distinct"" the script functions properly. The core dump occurrs at line 2233 of swq.c during a GetNextFeature call. I'm getting this in 1.3.2 and a browse of the CVS shows swq.c has not been modified recently. I don't see the option to attach a file here. Hopefully I can from the bug page. }}}" defect closed high OGR_SF unspecified normal fixed ethan@…