You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/08/29 00:16:46 UTC

[jira] [Commented] (QPID-6717) selector can match incorrectly due to different type for values

    [ https://issues.apache.org/jira/browse/QPID-6717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14720680#comment-14720680 ] 

ASF subversion and git services commented on QPID-6717:
-------------------------------------------------------

Commit 1698428 from [~gsim] in branch 'qpid/trunk'
[ https://svn.apache.org/r1698428 ]

QPID-6717: fix evaluation of BETWEEN and NOT IN when types are mismatched

> 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
>            Assignee: 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.



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