fix replay log failed

This commit is contained in:
obdev
2023-09-09 13:16:28 +00:00
committed by ob-robot
parent 2718e8df84
commit 7b46b3a868

View File

@ -1869,6 +1869,7 @@ int ObTableSchema::add_column(const ColumnType &column)
&& OB_FAIL(check_if_oracle_compat_mode(is_oracle_mode))) {
// When deserialize column in physical restore, tenant id is wrong. We need to use lib::is_oracle_mode() to do this check.
SHARE_SCHEMA_LOG(WARN, "check if_oracle_compat_mode failed", K(ret), K(tenant_id_), K(table_id_));
is_oracle_mode = lib::is_oracle_mode();
ret = OB_SUCCESS;
SHARE_SCHEMA_LOG(WARN, "replace error code to OB_SUCCESS, because tenant_id is invalid in physical restore",
K(ret), K(tenant_id_), K(table_id_), K(is_oracle_mode));