mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-16 00:04:13 +00:00
add auto-clear-sql param to core
This commit is contained in:
1 parent
7dc92c47e1
commit
dfac4c4752
4 files changed
+18
-2
No files matched your search
@@ -214,6 +214,10 @@ SWITCH_DECLARE(void) switch_core_db_test_reactive(switch_core_db_t *db, char *te
|
||||
{
|
||||
char *errmsg;
|
||||
|
||||
if (!switch_test_flag((&runtime), SCF_CLEAR_SQL)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!switch_test_flag((&runtime), SCF_AUTO_SCHEMAS)) {
|
||||
switch_core_db_exec(db, test_sql, NULL, NULL, NULL);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user