[Freeswitch-dev] odbc连接过多的问题

Mathieu Rene mrene_lists at avgs.ca
Mon Jun 28 08:41:57 PDT 2010


I guess the source was easier to read than the google translation anyways

Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mrene at avgs.ca




On 2010-06-28, at 9:50 AM, EdPimentl wrote:

> This is what he said:
> 
> In the test FREEESWITCH 
> 1.0.19 version of the time found a problem, too much can cause odbc connection, leading to not create a new connection problem. Find the code found in the following function should be connected without removing the logo. 
> 
> 
> SWITCH_DECLARE (void) 
> switch_cache_db_release_db_handle (switch_cache_db_handle_t ** dbh) 
> ( 
> if (dbh & & * dbh) 
> ( 
> switch_clear_flag (* dbh, CDF_INUSE); / / get rid of using the state flag switch_mutex_unlock ((* dbh) -> mutex); 
> * Dbh = NULL; 
> ) 
> ) 
> 
> 
> -E
> Gpro.ws
> 
> 
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100628/776dfe4d/attachment.html 


More information about the FreeSWITCH-dev mailing list