[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    Re: [asterisk-dev] res/res_odbc.c
From:       Tilghman Lesher <tilghman () mail ! jeffandtilghman ! com>
Date:       2007-11-05 18:26:54
Message-ID: 200711051226.54322.tilghman () mail ! jeffandtilghman ! com
[Download RAW message or body]

On Monday 05 November 2007 11:12, Nick Gorham wrote:
> Tilghman Lesher wrote:
> >On Monday 05 November 2007 07:41, Nick Gorham wrote:
> >>Tilghman Lesher wrote:
> >>>On Monday 05 November 2007 03:49:16 Nick Gorham wrote:
> >>>
> >>>
> >>>http://bugs.digium.com, but since you're already here, I need to ask the
> >>>obvious question of:  are you using "pooling=yes" in res_odbc.conf? 
> >>> That option should prevent this issue from occurring.
> >>
> >>Yep, I am using "pooling=yes", and no it doesn't seem to stop it
> >> happening.
> >>
> >>Checking again in the code, I can't see anything that would stop it
> >>happening with pooling set. The code in handle_cli_odbc_show() locks
> >>odbc_list, then itterates down the list, calling ast_odbc_sanity_check()
> >>on each connection. ast_odbc_sanity_check()() then allocates a statement
> >>and runs its query. I cant see anything in that where there is anything
> >>that syncronises the query with any other activity on the connection.
> >
> >Okay, fixed.
>
> Just out of interest, when will those changes hit SVN, I will give them
> a try.

Shouldn't be any lag at all until the changes hit the public SVN mirror.

-- 
Tilghman

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic