mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-22 03:51:48 +00:00
Revert "mod_lcr: use switch_cache_db_dismiss_db_handle to reduce persistant"
This reverts commit 6449861e02c1aba268e110e9025fa163ee9e9623.
This commit is contained in:
parent
c3d6c648d3
commit
9741086975
6
src/mod/applications/mod_lcr/mod_lcr.c
Normal file → Executable file
6
src/mod/applications/mod_lcr/mod_lcr.c
Normal file → Executable file
@ -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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -581,7 +581,7 @@ static switch_bool_t lcr_execute_sql_callback(char *sql, switch_core_db_callback
|
|||||||
retval = SWITCH_TRUE;
|
retval = SWITCH_TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
switch_cache_db_dismiss_db_handle(&dbh);
|
switch_cache_db_release_db_handle(&dbh);
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1175,7 +1175,7 @@ static switch_status_t lcr_load_config()
|
|||||||
}
|
}
|
||||||
|
|
||||||
done:
|
done:
|
||||||
switch_cache_db_dismiss_db_handle(&dbh);
|
switch_cache_db_release_db_handle(&dbh);
|
||||||
switch_xml_free(xml);
|
switch_xml_free(xml);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user