From 6d016e81c4d78c21ae680c6acd73dad56390f8f9 Mon Sep 17 00:00:00 2001
From: Anthony Minessale <anthm@freeswitch.org>
Date: Wed, 17 Apr 2013 14:57:06 -0500
Subject: [PATCH] FS-5313

---
 src/switch_core_sqldb.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/switch_core_sqldb.c b/src/switch_core_sqldb.c
index 71d2412185..a3bb66c08a 100644
--- a/src/switch_core_sqldb.c
+++ b/src/switch_core_sqldb.c
@@ -3235,9 +3235,9 @@ switch_status_t switch_core_sqldb_start(switch_memory_pool_t *pool, switch_bool_
 
 			
 			if (err) {
-				runtime.odbc_dsn = NULL;
-				switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Transactions not supported on your DB, disabling non-SQLite support; using SQLite\n");
-				switch_cache_db_release_db_handle(&sql_manager.dbh);
+				//runtime.odbc_dsn = NULL;
+				switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Database Error [%s]\n", err);
+				//switch_cache_db_release_db_handle(&sql_manager.dbh);
 				free(err);
 				goto top;
 			}