From b585c485a483503dfa92b4a1b97e3d2e1a5f406d Mon Sep 17 00:00:00 2001 From: yuyi Date: Fri, 20 Dec 2024 10:16:35 +0800 Subject: [PATCH] fix(obcluster): set the name of fallback field --- pkg/oceanbase-sdk/const/sql/parameter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/oceanbase-sdk/const/sql/parameter.go b/pkg/oceanbase-sdk/const/sql/parameter.go index f329e2f0..9291592b 100644 --- a/pkg/oceanbase-sdk/const/sql/parameter.go +++ b/pkg/oceanbase-sdk/const/sql/parameter.go @@ -22,5 +22,5 @@ const ( const ( ListParametersWithTenantID = "select name, value, data_type, info, section, default_value, isdefault, edit_level, scope from GV$OB_PARAMETERS where tenant_id = ?" SelectCompatibleOfTenants = "select name, value, tenant_id from GV$OB_PARAMETERS where name = 'compatible'" - ListParametersGroupByName = "select name, value, data_type, info, section, default_value, isdefault, edit_level, scope, svr_ip, zone, svr_port, IFNULL(tenant_id, 0) from GV$OB_PARAMETERS group by name" + ListParametersGroupByName = "select name, value, data_type, info, section, default_value, isdefault, edit_level, scope, svr_ip, zone, svr_port, IFNULL(tenant_id, 0) as tenant_id from GV$OB_PARAMETERS group by name" )