From 3406d05ba7fafb8e20f69bede72db3564bf8b198 Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Thu, 9 Dec 2010 23:05:49 -0600 Subject: [PATCH] Fix fallback to CORE_DB when MSSQL fails init --- 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 4364ff2844..b561ebe775 100644 --- a/src/switch_core_sqldb.c +++ b/src/switch_core_sqldb.c @@ -1624,6 +1624,7 @@ switch_status_t switch_core_sqldb_start(switch_memory_pool_t *pool, switch_bool_ runtime.odbc_dsn = NULL; runtime.odbc_user = NULL; runtime.odbc_pass = NULL; + runtime.odbc_dbtype = DBTYPE_DEFAULT; switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Falling back to core_db.\n"); goto top; }