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

EdPimentl edpimentl at gmail.com
Mon Jun 28 06:50:07 PDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100628/655b9499/attachment.html 


More information about the FreeSWITCH-dev mailing list