FS-5313 --resolve

This commit is contained in:
Anthony Minessale 2013-04-17 17:33:42 -05:00
parent 3fa092c5c6
commit 907af48033
1 changed files with 6 additions and 2 deletions

View File

@ -3238,8 +3238,12 @@ switch_status_t switch_core_sqldb_start(switch_memory_pool_t *pool, switch_bool_
//runtime.odbc_dsn = NULL; //runtime.odbc_dsn = NULL;
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Database Error [%s]\n", err); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Database Error [%s]\n", err);
//switch_cache_db_release_db_handle(&sql_manager.dbh); //switch_cache_db_release_db_handle(&sql_manager.dbh);
free(err); if (switch_stristr("read-only", err)) {
goto top; free(err);
} else {
free(err);
goto top;
}
} }
} }
break; break;