add auto-clear-sql param to core

This commit is contained in:
Anthony Minessale
2011-08-24 13:36:13 -05:00
parent 7dc92c47e1
commit dfac4c4752
4 changed files with 18 additions and 2 deletions
+4
View File
@@ -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;