提交 91230e01 authored 作者: Anthony Minessale's avatar Anthony Minessale

used || instead of 'or' in sql stmt

上级 6ae933a2
......@@ -627,7 +627,7 @@ static void actual_sofia_presence_event_handler(switch_event_t *event)
"from sip_dialogs "
"where (presence_id='%q@%q' or "
"(sip_from_user='%q' and (sip_from_host='%q' || sip_to_host='%q')))",
"(sip_from_user='%q' and (sip_from_host='%q' or sip_to_host='%q')))",
dh.status, dh.rpid, probe_euser, probe_host, probe_euser, probe_host, probe_host);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论