Icon View Incident Report

Serious Serious
Reported By: Terry Swiers
Reported On: 10/20/2010
For: Version 2.04 Build 4
# 3342 DELETE Statement Can Cause AV When Comparing Row Values in WHERE Clause

I'm able to get a update statement to work with a row value select, but what I believe is a corresponding delete statement throws an AV in EDB manager.

If I remove the where portion of the select, I get the following error message:

ElevateDB Error #1011 An error occurred with the query (SELECT ALL
"CustGUID" AS "CustGUID", "StockCode" AS "StockCode" FROM "custprc") (A
scalar query can only return a single value)

Works:

update custprc set (CustGUID,StockCode)=(select CustGUID,StockCode from 
custprc where CustGUID = '3')

AV:

delete from custprc where (CustGUID,StockCode)=(select CustGUID,StockCode 
from custprc where CustGUID = '3')



Resolution Resolution
Fixed Problem on 10/21/2010 in version 2.05 build 1


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