FS-5313 --resolve
This commit is contained in:
parent
3fa092c5c6
commit
907af48033
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue