提交 f03e9fe8 authored 作者: Jeff Lenk's avatar Jeff Lenk

FS-5585 --resolve

上级 1fb55577
...@@ -347,7 +347,7 @@ SWITCH_DECLARE(switch_status_t) _switch_cache_db_get_db_handle_dsn(switch_cache_ ...@@ -347,7 +347,7 @@ SWITCH_DECLARE(switch_status_t) _switch_cache_db_get_db_handle_dsn(switch_cache_
} else if (!strncasecmp(dsn, "sqlite://", 9)) { } else if (!strncasecmp(dsn, "sqlite://", 9)) {
type = SCDB_TYPE_CORE_DB; type = SCDB_TYPE_CORE_DB;
connection_options.core_db_options.db_path = (char *)(dsn + 9); connection_options.core_db_options.db_path = (char *)(dsn + 9);
} else if ((!(i = strncasecmp(dsn, "odbc://", 7))) || strchr(dsn, ':')) { } else if ((!(i = strncasecmp(dsn, "odbc://", 7))) || strchr(dsn+2, ':')) {
type = SCDB_TYPE_ODBC; type = SCDB_TYPE_ODBC;
if (i) { if (i) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论