[OpenSIPS-Users] PATCH: avp_db_query() return codes

2011-02-28 Thread John Khvatov
Hello all. I wrote a small patch for avpops module: http://dev.sgu.ru/pub/0001-avp_db_query-improved-error-reporting.patch Current implementation of avp_db_query returns -1 on internal error or empty result. Thus, current function interface does not allow to write script with storage error hand

Re: [OpenSIPS-Users] PATCH: avp_db_query() return codes

2011-03-03 Thread Bogdan-Andrei Iancu
Hi John, Following our chat on IRC, I would like to update also the list here. As said, currently we are looking into the possibility to extend the mechanism of error handling in OpenSIPS - the idea is, instead of keep testing all script functions for error cases, we should have an automatic