Browse Source

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

Michaël Van Canneyt 3 ngày trước cách đây
mục cha
commit
9e116eb196
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;