From: Anthony Minessale Date: Wed, 18 Aug 2010 14:37:01 +0000 (-0500) Subject: always run test sql even when auto schema is off X-Git-Tag: v1.2-rc1~514 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c47d1ef81ce262e9e98220af0f56e3f7b1deeb38;p=thirdparty%2Ffreeswitch.git always run test sql even when auto schema is off --- 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; }