fix bug when purge databases containing a table having global index with a primary zone

This commit is contained in:
wd0
2021-10-29 10:48:43 +08:00
committed by LINxiansheng
parent e7f25eaacd
commit d1707e6a19

View File

@ -9204,6 +9204,8 @@ int ObDDLService::purge_database(const ObPurgeDatabaseArg& arg, int64_t& pz_coun
// bypass
} else if (schema->get_primary_zone().empty()) {
// bypass
} else if (USER_INDEX == schema->get_table_type()) {
// bypass, hope some day, pz_value can be removed from oceanbase
} else {
++pz_count;
}