The C code returns 2 when there is no result coming back from the db server. The docs are
misleading or are not sync'ed with the code. There is a db result coming back in this
case which includes the columns, just no rows.
For now, you can check if the `$xavp(ra)` is null or not.
We have to make the docs and code coherent in a way or another.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3163#issuecomment-1172199119
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3163/1172199119(a)github.com>