Icon View Incident Report

Serious Serious
Reported By: Fernando Dias
Reported On: 5/22/2008
For: Version 1.09 Build 3
# 2642 Calling Procedures or Functions from Scripts Causes AV

I'm getting the following AV calling a stored procedure:

ElevateDB Error #9999 Access violation at address 00558A42 in module 'edbsrvr.exe'. Read of address 00000020

I'm calling the SP from the following script.

SCRIPT
BEGIN
  CALL DropTableIfExists('DestTable');
END

and the SP is defined as:
PROCEDURE "DropTableIfExists" (IN "TblName" VARCHAR COLLATE ANSI)
BEGIN
  execute immediate 'drop table "'+TblName+'"';
EXCEPTION
  -- do nothing
END



Comments Comments and Workarounds
The workaround is to use a stored procedure instead of a script.


Resolution Resolution
Fixed Problem on 5/23/2008 in version 1.09 build 4


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 VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image