always run test sql even when auto schema is off

This commit is contained in:
Anthony Minessale 2010-08-18 09:37:01 -05:00
parent e4f90584a7
commit c47d1ef81c
1 changed files with 1 additions and 0 deletions

View File

@ -785,6 +785,7 @@ SWITCH_DECLARE(switch_bool_t) switch_cache_db_test_reactive(switch_cache_db_hand
switch_bool_t r = SWITCH_TRUE; switch_bool_t r = SWITCH_TRUE;
if (!switch_test_flag((&runtime), SCF_AUTO_SCHEMAS)) { if (!switch_test_flag((&runtime), SCF_AUTO_SCHEMAS)) {
switch_cache_db_execute_sql(dbh, test_sql, NULL);
return SWITCH_TRUE; return SWITCH_TRUE;
} }