fix error message The main table was deleted while creating the index.

This commit is contained in:
LYAccc 2024-10-25 09:16:01 +00:00 committed by ob-robot
parent 7a83df177d
commit dfe2b1a6e4

View File

@ -295,8 +295,8 @@ int ObPartitionPreSplit::get_global_index_pre_split_schema_if_need(
} else if (schema_guard.get_table_schema(tenant_id, database_name, table_name, false/*is_index*/, data_table_schema)) {
LOG_WARN("[PRE_SPLIT] fail to get table schema", K(ret), K(tenant_id), K(database_name), K(table_name));
} else if (OB_ISNULL(data_table_schema)) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("[PRE_SPLIT] table schema null pointer", K(ret), KP(data_table_schema));
ret = OB_TABLE_NOT_EXIST;
LOG_WARN("[PRE_SPLIT] table not exist", K(ret), KP(data_table_schema));
} else if (!data_table_schema->is_auto_partitioned_table() ||
data_table_schema->is_mysql_tmp_table()) {
LOG_INFO("[PRE_SPLIT] not support auto split table type", K(ret), K(data_table_schema));