mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 11:10:36 +02:00
TDataset: fixed daAbort TDataAction behavior (was not aborting). Fixed TDataset.Delete calling OnDeleteError instead of OnPostError.
git-svn-id: trunk@23111 -
This commit is contained in:
parent
8e5bd14e3a
commit
b36aa216e5
@ -1543,7 +1543,7 @@ begin
|
||||
{$endif}
|
||||
DoBeforeDelete;
|
||||
DoBeforeScroll;
|
||||
If Not TryDoing(@InternalDelete,OnPostError) then exit;
|
||||
If Not TryDoing(@InternalDelete,OnDeleteError) then exit;
|
||||
{$ifdef dsdebug}
|
||||
writeln ('Delete: Internaldelete succeeded');
|
||||
{$endif}
|
||||
@ -2197,7 +2197,7 @@ begin
|
||||
Ev(Self,E,Retry);
|
||||
Case Retry of
|
||||
daFail : Raise;
|
||||
daAbort : Result:=False;
|
||||
daAbort : Abort;
|
||||
end;
|
||||
end;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user