From 252aebf881cecaa5500219d97c252adb89a00a6e Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 23 Aug 2010 13:15:58 -0500 Subject: [PATCH] FSCORE-656 --- src/switch_core_db.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/switch_core_db.c b/src/switch_core_db.c index 99688cbe91..9f557cf590 100644 --- a/src/switch_core_db.c +++ b/src/switch_core_db.c @@ -196,7 +196,8 @@ SWITCH_DECLARE(void) switch_core_db_test_reactive(switch_core_db_t *db, char *te { char *errmsg; - if (switch_test_flag((&runtime), SCF_AUTO_SCHEMAS)) { + if (!switch_test_flag((&runtime), SCF_AUTO_SCHEMAS)) { + switch_core_db_exec(db, test_sql, NULL, NULL, NULL); return; }