Icon View Incident Report

Serious Serious
Reported By: Hendrik Grutzmacher
Reported On: 10/3/2012
For: Version 2.10 Build 1
# 3638 Parameters in Sub-Queries in SELECT Expression List Can Cause Binding Issues

The following statement was working prior to version 2.09. With 2.09 and 2.10 it does not work anymore. The error claims that -23319053122151 in not an integer. which is right. however all concerning fields in the tables and functions are declared as bigint.

SELECT ID, NAME, GRANTEDRIGHT, NAME AS "TRANSLATEDNAME" FROM T_RIGHTS WHERE
NOT NAME LIKE '%_VERSION%' AND
NOT F_USR_USERHASRIGHT(11, GRANTEDRIGHT)



Comments Comments
The problem was in the F_USR_USERHASRIGHT UDF, which executed a statement that contained sub-queries containing parameters in the SELECT list. Incident report #3584 that introduced a fix in 2.09 was the cause of this bug because it didn't take into account the possibility of parameters in the SELECT list. Thus, the parameter bindings were off and caused an error.


Resolution Resolution
Fixed Problem on 10/3/2012 in version 2.11 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