> @@ -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)",
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 ...)"?
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/127/files#r12153160
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel