From b6e22f6df27affd1619f3bf4eb848221ffa744b4 Mon Sep 17 00:00:00 2001 From: gecheng Date: Tue, 3 Jun 2025 14:53:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E8=81=94=E5=85=B3=E7=B3=BB=E5=8F=91?= =?UTF-8?q?=E7=94=9F=E5=8F=98=E5=8C=96=E9=9D=9E=E9=94=99=E8=AF=AF=E4=B8=8D?= =?UTF-8?q?=E6=89=93=E6=96=AD=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gecheng --- .../distributeddataservice/service/rdb/rdb_general_store.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/distributeddataservice/service/rdb/rdb_general_store.cpp b/services/distributeddataservice/service/rdb/rdb_general_store.cpp index 3be1df0a5..290a55a45 100644 --- a/services/distributeddataservice/service/rdb/rdb_general_store.cpp +++ b/services/distributeddataservice/service/rdb/rdb_general_store.cpp @@ -831,7 +831,7 @@ int32_t RdbGeneralStore::SetDistributedTables(const std::vector &ta properties.push_back({ reference.sourceTable, reference.targetTable, reference.refFields }); } auto status = delegate_->SetReference(properties); - if (status != DistributedDB::DBStatus::OK) { + if (status != DistributedDB::DBStatus::OK && status != DistributedDB::DBStatus::PROPERTY_CHANGED) { ZLOGE("distributed table set reference failed, err:%{public}d", status); return GeneralError::E_ERROR; } -- Gitee