[fdo-internals] SDF defect fixes code submission
badreddine.karoui at autodesk.com
Tue Jan 23 14:15:49 EST 2007
The following defects are fixed:
1- The SDF provider filter capability does not does not advertise that
it supports the spatial inside, this code change throws an exception if
the inside operator is used.
2- A dynamic cast failed on Linux and caused a Rtree based filter
optimization to be skipped. This change replaces the dynamic cast with a
hard cast and explicit FDO type checking. i.e it the Fdo object type is
as expected, we use hard cast.
3- The SDF filter is not being validated at execution time and exception
of not found property are being thrown when accessing the reader. A new
validator is added and called by select,update and delete when the
execute method is called. Also added a better message for the case of a
class not found.
4- A deadlock can occur if an SDF reader is maintained open for an
extended period while a writer thread tries to make an update. This
deadlock happened when a grid control used a scrollable reader and left
it opens for the lifetime of the grid in order to scroll up and down.
The fix is to relax the use of the shared lock for the readers and only
apply the lock when loading the first page.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fdo-internals