fix inner_table.desc_sys_views_in_sys in master

This commit is contained in:
zhaoyiping0622 2024-11-22 06:48:41 +00:00 committed by ob-robot
parent 959f0b1a54
commit e175d96d4c
2 changed files with 5 additions and 3 deletions

View File

@ -272,9 +272,6 @@ DEFINER varchar(93) NO
CHARACTER_SET_CLIENT varchar(32) NO NULL
COLLATION_CONNECTION varchar(32) NO NULL
DATABASE_COLLATION varchar(32) NO NULL
select /*+QUERY_TIMEOUT(60000000)*/ count(*) as cnt from (select * from information_schema.ROUTINES limit 1);
cnt
1
desc information_schema.PROFILING;
Field Type Null Key Default Extra
QUERY_ID bigint(20) NO

View File

@ -50,6 +50,11 @@ if ($table_name == 'DBA_TAB_COL_STATISTICS')
{
let $query_type = 2;
}
# 先不对ROUTINES视图进行select操作
if ($table_name == 'ROUTINES')
{
let $query_type = 3;
}
if ($query_type == 1)
{