<p>In modules/usrloc/dlist.c:</p>
<pre style='color:#555'>> @@ -130,6 +131,18 @@ static int get_all_db_ucontacts(void *buf, int len, unsigned int flags,
>
> LM_DBG("buf: %p. flags: %d\n", buf, flags);
>
> + if (sockaddr_list_str.s) {
> + i = snprintf(query_socket, sizeof(query_socket), " and socket in (%.*s)",
</pre>
<p>Is this IN operator compliant with all SQL standards (Postgres, MySQL, etc.)? Or should we convert it to a standard format like "... AND (socket = IP1 or socket = IP2 ...)"?</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/OpenSIPS/opensips/pull/127/files#r12153160'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxNDQ5NjAzOCwiZGF0YSI6eyJpZCI6MjAyNjE1NTR9fQ==--55059c1e02842a4d46a9705723c071b4e32572a7.gif' height='1' width='1'></p>