From af7b06415764635ace13295389f731eb6c13684c Mon Sep 17 00:00:00 2001 From: joost Date: Sat, 29 Nov 2008 10:45:37 +0000 Subject: [PATCH] * Because of some logic-error, only deletes were handled by ApplyUpdates git-svn-id: trunk@12266 - --- packages/fcl-db/src/base/bufdataset.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fcl-db/src/base/bufdataset.pas b/packages/fcl-db/src/base/bufdataset.pas index 4c277713ab..7df0e3c4b7 100644 --- a/packages/fcl-db/src/base/bufdataset.pas +++ b/packages/fcl-db/src/base/bufdataset.pas @@ -1841,7 +1841,7 @@ begin while (r < Length(FUpdateBuffer)) and (Response <> rrAbort) do begin // If the record is first inserted and afterwards deleted, do nothing - if (FUpdateBuffer[r].UpdateKind=ukDelete) and (assigned(FUpdateBuffer[r].OldValuesBuffer)) then + if not (FUpdateBuffer[r].UpdateKind=ukDelete) and not (assigned(FUpdateBuffer[r].OldValuesBuffer)) then begin FCurrentIndex.GotoBookmark(@FUpdateBuffer[r].BookmarkData); // Joost: I do not see the use of this resync?