A couple of bugs in 1.00.0.6
Posted: Thu 10 Jul 2008 10:38
Bug #1: FTransactions accessed from FreeIConnection() after being freed in TCustomDAConnection.Destroy().
Solution: Call to FTransactions.Free() needs to be moved after the call to FreeIConnection() in TCustomDAConnection.Destroy().
Bug #2: TCustomDADataSet.SetFetchAll() forwards the wrong (i.e. old) value to FIRecordSet.SetProp(), effectively preventing FetchAll := False to take effect.
Solution: Change last parameter in FIRecordSet.SetProp(prFetchAll, FetchAll) to FFetchAll.
Also: Property TCustomDADataSet.FetchAll is protected in UniDAC but was public in older versions of SDAC/ODAC. Would it be possible to make it public again so it can be accessed normally through TCustomDADataSet references?
Thank you.
Solution: Call to FTransactions.Free() needs to be moved after the call to FreeIConnection() in TCustomDAConnection.Destroy().
Bug #2: TCustomDADataSet.SetFetchAll() forwards the wrong (i.e. old) value to FIRecordSet.SetProp(), effectively preventing FetchAll := False to take effect.
Solution: Change last parameter in FIRecordSet.SetProp(prFetchAll, FetchAll) to FFetchAll.
Also: Property TCustomDADataSet.FetchAll is protected in UniDAC but was public in older versions of SDAC/ODAC. Would it be possible to make it public again so it can be accessed normally through TCustomDADataSet references?
Thank you.