Icon View Incident Report

Serious Serious
Reported By: Terry Swiers
Reported On: 3/31/2011
For: Version 2.05 Build 4
# 3422 Opening and Closing Tables with Foreign Key Constraints in Certain Orders Can Cause an AV

When executing a series of steps in my application, I get an access violation during an INSERT operation.


Comments Comments
The problem was caused by improper reference counting of tables opened by other tables with foreign-key constraints and required these tables to be open for validating the constraints. In addition to this fix, the condition of a referenced table not being open (when it needs to be) now raises a proper exception with a contextual error message instead of experiencing an access violation.

The steps to reproduce this issue are hard to explain, but the error requires that you have a circular relationship with a table that reference other tables that subsequently reference the original table via foreign-key constraints. In such arrangements, opening and closing tables in a certain order can cause the AV.


Resolution Resolution
Fixed Problem on 4/5/2011 in version 2.05 build 5


Products Affected Products Affected
ElevateDB Additional Software and Utilities
ElevateDB DAC Client-Server
ElevateDB DAC Client-Server with Source
ElevateDB DAC Standard
ElevateDB DAC Standard with Source
ElevateDB DAC Trial
ElevateDB LCL Standard with Source
ElevateDB PHP Standard
ElevateDB PHP Standard with Source
ElevateDB PHP Trial
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image