Opened 15 years ago

Closed 15 years ago

#438 closed defect (fixed)

RDBMS: Handle circular association properties

Reported by: brentrobinson Owned by: brentrobinson
Priority: major Milestone: 3.4.0
Component: SQLServer Spatial Version: 3.4.0
Severity: 2 Keywords: Association Property Select FdoISelect stack overflow
Cc: External ID:

Description

When an FdoISelect is performed for the MySQL or SQLServerSpatial providers, an infinite recursion problem can happen if the datastore has a class that references itself through an Association Property. This can also happen if a set of association properties form a loop if one traces from one association property to the association properties on its associated class and so on.

When FdoRdbmsFilterProcessor builds the SQL for an FdoISelect, it recursively traces through all association properties on the select feature class to see if the associated classes can be joined into the SQL statement. However, this recursion can be infinite if an association property references its containing class or a chain of association properties form a loop.

This ticket will fix this defect

Change History (2)

comment:1 by brentrobinson, 15 years ago

Status: newassigned

comment:2 by gregboone, 15 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.