<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Juha,<br>
<br>
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.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 9/27/12 5:22 PM, Peter Dunkley
wrote:<br>
</div>
<blockquote
cite="mid:1348759373.14654.6.camel@pd-notebook-linux.croc.internal"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="GENERATOR" content="GtkHTML/4.4.4">
I might have time to do this over the next few days, but can't
promise anything.<br>
<br>
Peter<br>
<br>
On Thu, 2012-09-27 at 18:20 +0300, Juha Heinanen wrote:
<blockquote type="CITE">
<pre>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
<a moz-do-not-send="true" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
</blockquote>
<br>
<table width="100%" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>
<pre>--
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</pre>
</td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a></pre>
</body>
</html>