]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5313
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 17 Apr 2013 19:57:06 +0000 (14:57 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 17 Apr 2013 19:57:33 +0000 (14:57 -0500)
src/switch_core_sqldb.c

index 71d2412185ea25302abbfb6234a5ab8608756f3a..a3bb66c08aa9e730890d8b3197e0ec7de0dc14e0 100644 (file)
@@ -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;
                        }