提交 0192a4d2 编写于 作者: Y ym0 提交者: wangzelin.wzl

fix create system table problem

上级 58f7fb88
......@@ -1271,7 +1271,9 @@ int ObReplicaCreator::get_pg_partitions(const ObTableSchema& table, ObITablePart
{
partition.reuse();
// table schema pointer validity checked in previous iteration, not need check again.
if (*id >= (*table_schema)->get_all_part_num()) {
if (!(*table_schema)->has_self_partition()) {
continue;
} else if (*id >= (*table_schema)->get_all_part_num()) {
continue;
} else if (OB_FAIL(pt_operator_->get((*table_schema)->get_table_id(), *id, partition))) {
LOG_WARN("pt_operator get failed", "table_id", (*table_schema)->get_table_id(), "partition_id", *id, K(ret));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册