From dfe2b1a6e4e66ee6c79cbeddc023fc3868b83536 Mon Sep 17 00:00:00 2001 From: LYAccc Date: Fri, 25 Oct 2024 09:16:01 +0000 Subject: [PATCH] fix error message The main table was deleted while creating the index. --- src/storage/ob_partition_pre_split.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/storage/ob_partition_pre_split.cpp b/src/storage/ob_partition_pre_split.cpp index 4c3fb9993..ea6272d93 100644 --- a/src/storage/ob_partition_pre_split.cpp +++ b/src/storage/ob_partition_pre_split.cpp @@ -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));