[asterisk-bugs] [JIRA] (ASTERISK-25030) Avoid using LIKE when using realtime engine

Rusty Newton (JIRA) noreply at issues.asterisk.org
Fri May 15 09:00:32 CDT 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226212#comment-226212 ] 

Rusty Newton commented on ASTERISK-25030:
-----------------------------------------

In terms of contribution and how we marshal issues through the tracker we treat feature requests and improvements the same. Both require a patch (or someone actively developing one) to move forward.

You are welcome to attach a patch only to this ticket if that as far as you are willing to go. Someone else may be willing to move it through the rest of the process, such as peer review and eventually pushing it onto the tracker. However, the odds of the improvement getting in are much greater if the author pushes it through peer review.

I'll leave this in waiting for feedback until you attach your patch. Thanks!

> Avoid using LIKE when using realtime engine
> -------------------------------------------
>
>                 Key: ASTERISK-25030
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25030
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Applications/app_directory, Applications/app_followme, Applications/app_meetme, Applications/app_queue, Channels/chan_sip/DatabaseSupport, PBX/pbx_realtime
>            Reporter: Mickael Marrache
>            Assignee: Mickael Marrache
>            Severity: Minor
>
> Avoid using LIKE when performing regex lookups using realtime engine.
> I think that the value should have a special format indicating it is a regular expression. For example, starting and ending with / (forward slash). In such case, the value should be interpreted as a regular expression by the realtime engine implementation (which may not only be a relational database that supports the well known LIKE keyword).



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



More information about the asterisk-bugs mailing list