From 3d2454afd4fb755385c8c0929cc36baccd2da560 Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Thu, 30 Sep 2021 10:26:24 +0000 Subject: [PATCH] [core] creating db schemas disregarding auto-clear-sql param --- src/switch_core_db.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/switch_core_db.c b/src/switch_core_db.c index d3701ce91f..9770818dd1 100644 --- a/src/switch_core_db.c +++ b/src/switch_core_db.c @@ -270,10 +270,6 @@ 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;