From c47d1ef81ce262e9e98220af0f56e3f7b1deeb38 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 18 Aug 2010 09:37:01 -0500 Subject: [PATCH] always run test sql even when auto schema is off --- src/switch_core_sqldb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/switch_core_sqldb.c b/src/switch_core_sqldb.c index 42935102c5..8dec04f16f 100644 --- a/src/switch_core_sqldb.c +++ b/src/switch_core_sqldb.c @@ -785,6 +785,7 @@ SWITCH_DECLARE(switch_bool_t) switch_cache_db_test_reactive(switch_cache_db_hand switch_bool_t r = SWITCH_TRUE; if (!switch_test_flag((&runtime), SCF_AUTO_SCHEMAS)) { + switch_cache_db_execute_sql(dbh, test_sql, NULL); return SWITCH_TRUE; }