[scn] fix failure of mittest after refresh feature scn

This commit is contained in:
obdev
2022-11-28 01:46:42 +00:00
committed by ob-robot
parent 49a02f3304
commit 54b64a7263
1898 changed files with 255804 additions and 280809 deletions

View File

@ -460,7 +460,7 @@ int get_proc_db_name(
} else {
uint64_t tenant_id = ctx.session_info_->get_login_tenant_id();
ObSchemaGetterGuard &schema_guard = *ctx.schema_guard_;
uint64_t db_id = OB_INVALID_ID;
uint64_t db_id;
const ObDatabaseSchema *db_schema = NULL;
if (static_cast<uint64_t>(ObObjectType::FUNCTION) == need_priv.obj_type_) {
const ObRoutineInfo *routine_schema = NULL;
@ -494,7 +494,7 @@ int get_seq_db_name(
ObString &db_name)
{
int ret = OB_SUCCESS;
uint64_t db_id = OB_INVALID_ID;
uint64_t db_id;
const ObSequenceSchema *seq_schema = NULL;
const ObDatabaseSchema *db_schema = NULL;
OZ (schema_guard.get_sequence_schema(tenant_id, obj_id, seq_schema));