Operator precedence problem when use:  NOT <boolean literal> - in complex 
boolean expression
--------------------------------------------------------------------------------------------

                 Key: CORE-5193
                 URL: http://tracker.firebirdsql.org/browse/CORE-5193
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 4.0 Initial, 3.0 RC2
            Reporter: Pavel Zotov


1) select (not false = true) is not unknown from rdb$database; -- <true>

2) select not false = true is not unknown from rdb$database; -- <false>

Result of first query is obvious and expected. 
But result of second is equal to:

NOT (false = true is not unknown)

It seems that results should be evaluated as: (NOT false) = true is not unknown


-- 
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

        

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to