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

Comparing ibx/branches/udr/client/FBClientAPI.pas (file contents):
Revision 385 by tony, Mon Jan 17 15:56:35 2022 UTC vs.
Revision 387 by tony, Wed Jan 19 13:34:42 2022 UTC

# Line 115 | Line 115 | type
115  
116    { TFBStatus }
117  
118 <  TFBStatus = class(TFBInterfacedObject)
118 >  TFBStatus = class(TFBInterfacedObject, IStatus)
119    private
120      FIBDataBaseErrorMessages: TIBDataBaseErrorMessages;
121      FPrefix: AnsiString;
# Line 127 | Line 127 | type
127    public
128      constructor Create(aOwner: TFBClientAPI; prefix: AnsiString='');
129      function StatusVector: PStatusVector; virtual; abstract;
130 +    procedure Assign(src: TFBStatus); virtual;
131 +    function Clone: IStatus; virtual; abstract;
132  
133      {IStatus}
134      function GetIBErrorCode: TStatusCode;
# Line 248 | Line 250 | type
250      IJournallingHook = interface
251        ['{7d3e45e0-3628-416a-9e22-c20474825031}']
252        procedure TransactionStart(Tr: ITransaction);
253 <      function TransactionEnd(TransactionID: integer; Action: TTransactionAction): boolean;
253 >      function TransactionEnd(TransactionID: integer; Completion: TTrCompletionState): boolean;
254        procedure TransactionRetained(Tr: ITransaction; OldTransactionID: integer; Action: TTransactionAction);
255        procedure ExecQuery(Stmt: IStatement);
256 +      procedure ExecImmediateJnl(sql: AnsiString; tr: ITransaction);
257      end;
258  
259   implementation
# Line 637 | Line 640 | begin
640    FIBDataBaseErrorMessages := [ShowIBMessage];
641   end;
642  
643 + procedure TFBStatus.Assign(src: TFBStatus);
644 + begin
645 +  FOwner := src.FOwner;
646 +  FPrefix := src.FPrefix;
647 +  SetIBDataBaseErrorMessages(src.GetIBDataBaseErrorMessages);
648 + end;
649 +
650   function TFBStatus.GetIBErrorCode: TStatusCode;
651   begin
652    Result := StatusVector^[1];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines