Icon View Incident Report

Minor Minor
Reported By: Roy Lambert
Reported On: 12/15/2015
For: Version 2.20 Build 1
# 4346 CASE Statement Not Handling Boolean and Integer Value Comparisons Properly

The following SQL returns the incorrect number of rows.

select * from contacts
where
case 1
when 1 = 4
then true
end



Comments Comments
The issue was the mixing of the Integers and Booleans. The type-checking is working okay, but the evaluation isn't doing the type conversion properly when comparing the Integers to the Booleans.


Resolution Resolution
Fixed Problem on 12/16/2015 in version 2.21 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