Bugs item #2664042, was opened at 2009-03-05 07:48
Message generated for change (Comment added) made by shcheklein
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2664042&group_id=129076

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Query Execution
Group: Sedna (current)
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Dmitry A. Shaporenkov (dsha)
Assigned to: Ivan Shcheklein (shcheklein)
Summary: '>=' operator seems to work incorrectly for zeroes

Initial Comment:
'0 >= 0' yields 'true' as one might expect. However, the following code returns 
("false", "true"):

declare function local:test-greater-than-zero ($p as xs:integer) {
   $p >= 0
};

let $max-depth := 0
return (local:test-greater-than-zero ($max-depth), local:test-greater-than-zero 
($max-depth + 1))

----------------------------------------------------------------------

>Comment By: Ivan Shcheklein (shcheklein)
Date: 2009-03-06 13:58

Message:
Fixed in the latest development build:
http://modis.ispras.ru/FTPContent/sedna/development/

Thanks for the PR.

----------------------------------------------------------------------

Comment By: Ivan Shcheklein (shcheklein)
Date: 2009-03-05 12:23

Message:
Dmitry, thanks for the bug report!

I've reproduced it also with the following query:

declare function local:test-greater-than-zero ($p as xs:integer) {
    $p >= 0
};

local:test-greater-than-zero (0)

Hope, it'll be fixed very soon ...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2664042&group_id=129076

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to