소스 검색

* 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;