Icon View Incident Report

Minor Minor
Reported By: Piotr Front
Reported On: 10/19/2012
For: Version 2.11 Build 1
# 3672 Executing a Query with Sub-Queries Containing Parameters and Requesting Execution Plan Causes AV

Steps to reproduce:

1) Open EDB-Manager, open any database, open a new SQL window, paste in the following query:

2) Click "Prepare" button, and set any integer value for parameter

3) Click "Execute" - result set should be ok (zero or more rows)

4) Click "Execute" again - "ElevateDB Error #9999 Access violation..."

SELECT
  *
FROM
  Configuration.ServerSessionStatistics h
WHERE
  (
      h.SessionID IN (
         SELECT ID FROM Configuration.ServerSessions 
         WHERE (:Param<0) OR (ID=:Param)
      )
  )



Comments Comments
The problem was with the execution plan generation under the above circumstances.


Resolution Resolution
Fixed Problem on 10/19/2012 in version 2.11 build 2


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