Re: [SR-Users] SQLOps question

2010-04-21 Thread Maciej Bylica
>>> Hello, >>> >>> I am trying to use SQLOps Module in my kamailio 1.5 configuration. >>> >>> According to your explanations every result of sql_query should be >>> freed just after using that data. >>> So it means that there will be better to fetch for THE SAME data three >>> times instead of just

Re: [SR-Users] SQLOps question

2010-04-19 Thread Daniel-Constantin Mierla
On 4/19/10 1:35 AM, Alex Balashov wrote: On 04/18/2010 01:21 PM, Maciej Bylica wrote: Hello, I am trying to use SQLOps Module in my kamailio 1.5 configuration. According to your explanations every result of sql_query should be freed just after using that data. So it means that there will be

Re: [SR-Users] SQLOps question

2010-04-19 Thread Henning Westerholt
On Monday 19 April 2010, Maciej Bylica wrote: > > As far as I know, sqlops results are freed at the end of invocation of > > script processing of a given message, be that a request or a reply. They > > do not persist for the life of the transaction, and therefore cannot be > > reused in failure_rou

Re: [SR-Users] SQLOps question

2010-04-18 Thread Maciej Bylica
Hi Alex, > As far as I know, sqlops results are freed at the end of invocation of > script processing of a given message, be that a request or a reply. They do > not persist for the life of the transaction, and therefore cannot be reused > in failure_route. Yes you are right. So it is not by my m

Re: [SR-Users] SQLOps question

2010-04-18 Thread Alex Balashov
On 04/18/2010 01:21 PM, Maciej Bylica wrote: Hello, I am trying to use SQLOps Module in my kamailio 1.5 configuration. According to your explanations every result of sql_query should be freed just after using that data. So it means that there will be better to fetch for THE SAME data three time

[SR-Users] SQLOps question

2010-04-18 Thread Maciej Bylica
Hello, I am trying to use SQLOps Module in my kamailio 1.5 configuration. According to your explanations every result of sql_query should be freed just after using that data. So it means that there will be better to fetch for THE SAME data three times instead of just one. Am I right? But neverth