make parameters starts with '_' invisible in oracle mode

This commit is contained in:
hnwyllmm 2023-02-10 06:11:31 +00:00 committed by ob-robot
parent 0054972a42
commit dd654cd6f3
2 changed files with 2 additions and 2 deletions

View File

@ -2770,7 +2770,7 @@ int ObSPIService::cursor_open_check(ObPLExecCtx *ctx,
open c1 for select 6 from dual;
c2 := c1;
c3 := c1;
c4 := c1; -- c1, c2, c3, c4的ref cournt是4
c4 := c1; -- c1, c2, c3, c4的ref count是4
fetch c1 into a;
dbms_output.put_line(a);
a := 0;

View File

@ -2838,7 +2838,7 @@ DEFINE_SHOW_CLAUSE_SET(SHOW_COUNT_ERRORS,
DEFINE_SHOW_CLAUSE_SET(SHOW_PARAMETERS,
NULL,
"SELECT zone, svr_type, svr_ip, svr_port, name, data_type, value, info, section, scope, source, edit_level from %s.%s where name not like '\\_%%' and (tenant_id = %ld or tenant_id is null)",
R"(SELECT "ZONE", "SVR_TYPE", "SVR_IP", "SVR_PORT", "NAME", "DATA_TYPE", "VALUE", "INFO", "SECTION", "SCOPE", "SOURCE", "EDIT_LEVEL" FROM %s.%s WHERE NAME NOT LIKE '\\_%%' and (tenant_id = %ld or tenant_id is null))",
R"(SELECT "ZONE", "SVR_TYPE", "SVR_IP", "SVR_PORT", "NAME", "DATA_TYPE", "VALUE", "INFO", "SECTION", "SCOPE", "SOURCE", "EDIT_LEVEL" FROM %s.%s WHERE NAME NOT LIKE '\_%%' ESCAPE '\' and (tenant_id = %ld or tenant_id is null))",
"name");
DEFINE_SHOW_CLAUSE_SET(SHOW_PARAMETERS_UNSYS,
NULL,