mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-25 15:09:56 +02:00
* Because of some logic-error, only deletes were handled by ApplyUpdates
git-svn-id: trunk@12266 -
This commit is contained in:
parent
b0cf2a2dc6
commit
af7b064157
@ -1841,7 +1841,7 @@ begin
|
|||||||
while (r < Length(FUpdateBuffer)) and (Response <> rrAbort) do
|
while (r < Length(FUpdateBuffer)) and (Response <> rrAbort) do
|
||||||
begin
|
begin
|
||||||
// If the record is first inserted and afterwards deleted, do nothing
|
// 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
|
begin
|
||||||
FCurrentIndex.GotoBookmark(@FUpdateBuffer[r].BookmarkData);
|
FCurrentIndex.GotoBookmark(@FUpdateBuffer[r].BookmarkData);
|
||||||
// Joost: I do not see the use of this resync?
|
// Joost: I do not see the use of this resync?
|
||||||
|
Loading…
Reference in New Issue
Block a user