]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
always run test sql even when auto schema is off
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 18 Aug 2010 14:37:01 +0000 (09:37 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 18 Aug 2010 14:37:01 +0000 (09:37 -0500)
src/switch_core_sqldb.c

index 42935102c54f78c8abc5b13b19dcc666e114b1ef..8dec04f16f5130e6af00d1f3267a5fa2a0fc7f95 100644 (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;
 
        if (!switch_test_flag((&runtime), SCF_AUTO_SCHEMAS)) {
+               switch_cache_db_execute_sql(dbh, test_sql, NULL);
                return SWITCH_TRUE;
        }