From 97410869757b9a81ac823df4f441194ba9762553 Mon Sep 17 00:00:00 2001 From: Rupa Schomaker Date: Mon, 5 Jul 2010 11:11:07 -0500 Subject: [PATCH] Revert "mod_lcr: use switch_cache_db_dismiss_db_handle to reduce persistant" This reverts commit 6449861e02c1aba268e110e9025fa163ee9e9623. --- src/mod/applications/mod_lcr/mod_lcr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 src/mod/applications/mod_lcr/mod_lcr.c diff --git a/src/mod/applications/mod_lcr/mod_lcr.c b/src/mod/applications/mod_lcr/mod_lcr.c old mode 100644 new mode 100755 index 3399417532..0e45be39de --- a/src/mod/applications/mod_lcr/mod_lcr.c +++ b/src/mod/applications/mod_lcr/mod_lcr.c @@ -445,7 +445,7 @@ static switch_bool_t db_check(char *sql) } } - switch_cache_db_dismiss_db_handle(&dbh); + switch_cache_db_release_db_handle(&dbh); return ret; } @@ -581,7 +581,7 @@ static switch_bool_t lcr_execute_sql_callback(char *sql, switch_core_db_callback retval = SWITCH_TRUE; } } - switch_cache_db_dismiss_db_handle(&dbh); + switch_cache_db_release_db_handle(&dbh); return retval; } @@ -1175,7 +1175,7 @@ static switch_status_t lcr_load_config() } done: - switch_cache_db_dismiss_db_handle(&dbh); + switch_cache_db_release_db_handle(&dbh); switch_xml_free(xml); return status; }