From 699e796a638f10e046546812e288cbfaee714655 Mon Sep 17 00:00:00 2001 From: gecheng Date: Tue, 25 Feb 2025 11:14:09 +0800 Subject: [PATCH] =?UTF-8?q?Signed-off-by:=20gecheng=20=20=E5=85=B3=E8=81=94=E5=85=B3=E7=B3=BB=E5=8F=91=E7=94=9F?= =?UTF-8?q?=E5=8F=98=E5=8C=96=E9=9D=9E=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../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