From: Jeff Lenk Date: Fri, 10 Dec 2010 05:05:49 +0000 (-0600) Subject: Fix fallback to CORE_DB when MSSQL fails init X-Git-Tag: v1.2-rc1~234^2~1^2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3406d05ba7fafb8e20f69bede72db3564bf8b198;p=thirdparty%2Ffreeswitch.git Fix fallback to CORE_DB when MSSQL fails init --- 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; }