[asterisk-bugs] [JIRA] (ASTERISK-25030) Avoid using LIKE when using realtime engine
Mickael Marrache (JIRA)
noreply at issues.asterisk.org
Wed Apr 29 07:05:33 CDT 2015
Mickael Marrache created ASTERISK-25030:
-------------------------------------------
Summary: 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
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