qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Sim (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (QPID-6717) selector can match incorrectly due to different type for values
Date Tue, 01 Sep 2015 13:45:46 GMT

     [ https://issues.apache.org/jira/browse/QPID-6717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gordon Sim reassigned QPID-6717:
--------------------------------

    Assignee:     (was: Gordon Sim)

> selector can match incorrectly due to different type for values
> ---------------------------------------------------------------
>
>                 Key: QPID-6717
>                 URL: https://issues.apache.org/jira/browse/QPID-6717
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: qpid-cpp-0.34
>            Reporter: Gordon Sim
>            Priority: Minor
>             Fix For: qpid-cpp-next
>
>
> E.g. a selector "x BETWEEN 1 AND 10" would match for a value of x="foo", because of the
way the logic is implemented for the between expression, or a selector "x NOT IN ('a', 'b',
'c')" would match where x=1, though it should not due to the type mismatch.
> From JMS spec: "Only like type values can be compared. One exception is that it is valid
to compare exact numeric values and approximate numeric values"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message