From b3b0b709193ca76e21f2f4e0fddb0ede1ac8115c Mon Sep 17 00:00:00 2001 From: ftai Date: Mon, 5 Jun 2023 10:16:35 +0800 Subject: [PATCH] update: update func name --- src/obproxy/obutils/ob_config_processor.cpp | 2 +- src/obproxy/proxy/mysql/ob_mysql_transact.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/obproxy/obutils/ob_config_processor.cpp b/src/obproxy/obutils/ob_config_processor.cpp index ab8d8d3..a845f88 100644 --- a/src/obproxy/obutils/ob_config_processor.cpp +++ b/src/obproxy/obutils/ob_config_processor.cpp @@ -768,7 +768,7 @@ int ObConfigProcessor::get_proxy_config_int_item(const ObVipAddr &addr, const Ob return ret; } -int ObConfigProcessor::get_proxy_config_list_item(const ObVipAddr &addr, const ObString &cluster_name, +int ObConfigProcessor::get_proxy_config_strlist_item(const ObVipAddr &addr, const ObString &cluster_name, const ObString &tenant_name, const ObString& name, ObConfigStrListItem &ret_item) { diff --git a/src/obproxy/proxy/mysql/ob_mysql_transact.cpp b/src/obproxy/proxy/mysql/ob_mysql_transact.cpp index 5722565..ef73e30 100644 --- a/src/obproxy/proxy/mysql/ob_mysql_transact.cpp +++ b/src/obproxy/proxy/mysql/ob_mysql_transact.cpp @@ -6132,7 +6132,7 @@ int ObMysqlTransact::ObTransState::get_config_item(const ObString& cluster_name, if (OB_SUCC(ret)) { ObConfigStrListItem strlist_item; - if (OB_FAIL(get_global_config_processor().get_proxy_config_list_item( + if (OB_FAIL(get_global_config_processor().get_proxy_config_strlist_item( addr, cluster_name, tenant_name, "weak_read_user_list", strlist_item))) { LOG_WARN("get vip weak_read_user_list failed", K(addr), K(cluster_name), K(tenant_name), K(ret)); } else { -- GitLab