maybe your query is about 1024 char len, bot exceeding it all the time....
try to increase the buffer size - see modules/avpops/avpops_impl.c line
66 for
#define AVP_PRINTBUF_SIZE 1024
note you need to recompile and re-install.
regards,
bogdan
Jose Silva wrote:
Yes it's a very long query!
But the query works for the first messages, but after a while it fails
to work.
How can I correct this?
thanks,
Jose Silva
2006/9/28, Bogdan-Andrei Iancu <bogdan(a)voice-system.ro>ro>:
> Hi Jose,
>
> maybe you are trying to form a very long query...by default, the used
> buffer to build the query has a length of 1024 chars...
> is this the case??
>
> regards,
> bogdan
>
> Jose Silva wrote:
>
> > Hi I'm using avpops module to do some DB queries, everything goes fine
> > and all the queries are executed correctly for the first messages, but
> > after receiving allot of messages what I get on my log for one of the
> > queries (just one of the queries, the other ones are executed
> > correctly) is the following.
> >
> > (...)
> > xl_printf: no more space for text [175]
> > 3(4820) xl_printf: buffer overflow -- increase the buffer size...
> > 3(4820) avpops:ops_dbquery_avps: error - cannot print the query
> > (...)
> >
> > How can I solve this problem?
> >
> > Thanks in advance,
> > Jose Silva
> >
> > _______________________________________________
> > Users mailing list
> > Users(a)openser.org
> >
http://openser.org/cgi-bin/mailman/listinfo/users
> >
>
>