Opened 14 years ago

Closed 5 years ago

#3422 closed defect (wontfix)

ingres -sql results on tables with geometry fails to return results

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone: closed_because_of_github_migration
Component: OGR_SF Version: unspecified
Severity: normal Keywords: ingres
Cc: cthibert, atrofast

Description

If an ingres table uses the new geometry types and one executes an SQL query using OGRDataSource::ExecuteSQL() like "select * from tpoly" against the table, the resultset is empty. This appears to be because IIAPI_ST_NO_DATA is returned in OGRIngresStatement::GetRow() when processing the geometry column:

             if( getColParm.gc_genParm.gp_status >= IIAPI_ST_NO_DATA )
                return NULL;

This does not occur for normal tabular access as we force AsBinary() for these columns. The ogr_ingres_5() test (currently disabled) demonstrates this issue.

Change History (1)

comment:1 by Even Rouault, 5 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.

Note: See TracTickets for help on using tickets.