Compare hexadecimal and bigint
------------------------------
Key: CORE-4333
URL: http://tracker.firebirdsql.org/browse/CORE-4333
Project: Firebird Core
Issue Type: Bug
Affects Versions: 2.5.3
Environment: Firebird-2.5.3.26735-0_Win32.7z
Reporter: Boltik Evgeny
execute block returns (sVal varchar(30), iMax bigint)
as
begin
iMax = 100;
if (iMax < 0xFFFFFF) then sVal = 'yes';
else sVal = 'no';
suspend;
iMax = 100;
if (iMax < 0xFFFFFFFF) then sVal = 'yes';
else sVal = 'no';
suspend;
if (iMax < cast(0xFFFFFFFF as bigint)) then sVal = 'yes';
else sVal = 'no';
suspend;
if (iMax < 0xFFFFFFFFFF) then sVal = 'yes';
else sVal = 'no';
suspend;
if (iMax < 0xFFFFFFFFF) then sVal = 'yes';
else sVal = 'no';
suspend;
end
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel