瀏覽代碼

* Fix non-initialized variable in DoApplyUpdate. Fixes issue #41400

Michaël Van Canneyt 3 天之前
父節點
當前提交
9e116eb196
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/fcl-db/src/base/bufdataset.pas

+ 1 - 0
packages/fcl-db/src/base/bufdataset.pas

@@ -2970,6 +2970,7 @@ Const
 begin
   Result.Async:=False;
   Result.Response:=rrApply;
+  Result.HadError:=False;
   // If the record is first inserted and afterwards deleted, do nothing
   if ((aUpdate.UpdateKind=ukDelete) and not (assigned(aUpdate.OldValuesBuffer))) then
     exit;