Icon View Incident Report

Serious Serious
Reported By: Tonis Argus
Reported On: 5/3/2011
For: Version 2.05 Build 6
# 3438 UPDATE Statements that Use Sub-Selects with Multiple Columns Can Cause AV

Following sql raises access violation when executed inside the program. The same is true also when executed from edb manager.


UPDATE marvpais SET (Taissumma, Netosumma, Kbm, Brutosumma) =
(select sum(taissumma)
, sum(netosumma)
, sum(kbm)
, sum(brutosumma)
from marvrida
where arvid = marvpais.arvid
)
WHERE Arvid = :id



Comments Comments
The problem would occur whenever any of the sub-select values evaluated to NULL.


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


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