occupy code for show table status

This commit is contained in:
18523270951@163.com
2024-01-12 07:42:58 +00:00
committed by ob-robot
parent 6584479600
commit 41776006da
3 changed files with 6 additions and 1 deletions

View File

@ -7888,7 +7888,8 @@ int ObRawExprResolverImpl::check_internal_function(const ObString &name)
bool exist = false;
bool is_internal = false;
if (OB_FAIL(ret)) {
} else if (ctx_.session_info_->is_inner()) {
} else if (ctx_.session_info_->is_inner()
|| is_sys_view(ctx_.view_ref_id_)) {
// ignore
} else if (FALSE_IT(ObExprOperatorFactory::get_internal_info_by_name(name, exist, is_internal))) {
} else if (exist && is_internal) {