Juha,
you can find the *.use_table() somewhere in mod_init or child_init
and then use the same code before any db operation done over the
same dbf structure.
Cheers,
Daniel
On 9/27/12 5:22 PM, Peter Dunkley
wrote:
I might have time to do this over the next few days, but can't
promise anything.
Peter
On Thu, 2012-09-27 at 18:20 +0300, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
> a quick look over the pua_db.c file shows that dbf.use_table(...) is not
> used before doing the queries. That is required for db_cluster. Perhaps
> someone that is able to test the module can add the fix quickly -- I
> cannot do it for the next few days.
if peter gives me the patch, i can test it.
-- juha
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
--
Peter Dunkley
Technical Director
Crocodile RCS Ltd
|
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu