ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/branches/udr/client/IB.pas
(Generate patch)

Comparing ibx/branches/udr/client/IB.pas (file contents):
Revision 386 by tony, Tue Jan 18 12:05:35 2022 UTC vs.
Revision 387 by tony, Wed Jan 19 13:34:42 2022 UTC

# Line 906 | Line 906 | type
906  
907    TTransactionAction  = (TARollback, TACommit, TACommitRetaining, TARollbackRetaining);
908    TTransactionCompletion = TARollback.. TACommit;
909 +  TTrCompletionState = (trCommitted, trRolledback, trCommitFailed, trRollbackFailed);
910 +
911  
912    ITransaction = interface
913      ['{30928d0e-a9d7-4c61-b7cf-14f4f38abe2a}']
# Line 917 | Line 919 | type
919      function GetJournalingActive(attachment: IAttachment): boolean;
920      function GetDefaultCompletion: TTransactionCompletion;
921      procedure PrepareForCommit; {Two phase commit - stage 1}
922 <    procedure Commit(Force: boolean=false);
922 >    function Commit(Force: boolean=false): TTrCompletionState;
923      procedure CommitRetaining;
924      function HasActivity: boolean;
925 <    procedure Rollback(Force: boolean=false);
925 >    function Rollback(Force: boolean=false): TTrCompletionState;
926      procedure RollbackRetaining;
927      function GetAttachmentCount: integer;
928      function GetAttachment(index: integer): IAttachment;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines