fix mysqltest
This commit is contained in:
parent
f9a8d97a3d
commit
330e75307f
@ -207,7 +207,7 @@ int ObCreatePackageResolver::resolve(const ParseNode &parse_tree)
|
||||
}
|
||||
}
|
||||
// resolve package body to obtain analyze result again if it exists
|
||||
if (OB_SUCC(ret)) {
|
||||
if (OB_SUCC(ret) && package_ast.is_inited()) {
|
||||
HEAP_VAR(ObPLPackageAST, package_body_ast, *allocator_) {
|
||||
ObPLPackageGuard package_guard(params_.session_info_->get_effective_tenant_id());
|
||||
ObSchemaGetterGuard *schema_guard = schema_checker_->get_schema_mgr();
|
||||
|
Loading…
x
Reference in New Issue
Block a user