qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5805) Selector parser shouldn't allow either % or _ character as an ESCAPE character in a LIKE comparison
Date Mon, 09 Jun 2014 13:25:02 GMT

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

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

Commit 1601373 from [~astitcher] in branch 'qpid/trunk'
[ https://svn.apache.org/r1601373 ]

QPID-5805: Disallow % and _ characters as escapes in selector LIKE expression

> Selector parser shouldn't allow either % or _ character as an ESCAPE character in a LIKE
comparison
> ---------------------------------------------------------------------------------------------------
>
>                 Key: QPID-5805
>                 URL: https://issues.apache.org/jira/browse/QPID-5805
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.28
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Minor
>
> a selector expression similar to:
> qpid.subject LIKE '%%%' ESCAPE '%'
> makes no sense. In general the excape character only needs to be chosen for aesthetic
reasons since it only has to quote %,_, and itself. It nver needs to be % or _ and these choices
make no sense since then you would not be able to have the unquoted version of them anywhere
in the string.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message