]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FSCORE-656
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 23 Aug 2010 18:15:58 +0000 (13:15 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 23 Aug 2010 18:15:58 +0000 (13:15 -0500)
src/switch_core_db.c

index 99688cbe915d0114f6b65ff13359f7a8daab0409..9f557cf5900af267c2de431a8472d804c5e7cb31 100644 (file)
@@ -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;
        }