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/trunk/fbintf/client/FBClientAPI.pas (file contents), Revision 347 by tony, Mon Sep 20 22:08:20 2021 UTC vs.
ibx/branches/journaling/fbintf/client/FBClientAPI.pas (file contents), Revision 363 by tony, Tue Dec 7 13:30:05 2021 UTC

# Line 245 | Line 245 | type
245      function GetImplementationVersion: AnsiString;
246      function GetClientMajor: integer;  virtual; abstract;
247      function GetClientMinor: integer;  virtual; abstract;
248 < end;
248 >  end;
249 >
250 >    IJournallingHook = interface
251 >      ['{7d3e45e0-3628-416a-9e22-c20474825031}']
252 >      procedure TransactionStart(Tr: ITransaction);
253 >      function TransactionEnd(TransactionID: integer; Action: TTransactionAction): boolean;
254 >      procedure TransactionRetained(Tr: ITransaction; OldTransactionID: integer; Action: TTransactionAction);
255 >      procedure ExecQuery(Stmt: IStatement);
256 >    end;
257  
258   implementation
259  
# Line 465 | Line 473 | begin
473   end;
474  
475   {$IFDEF UNIX}
476 +
477   procedure TFBClientAPI.GetTZDataSettings;
478   var S: TStringList;
479   begin
480    FLocalTimeOffset := GetLocalTimeOffset;
481 <  FLocalTimeZoneName := strpas(tzname[tzdaylight]);
481 >  {$if declared(Gettzname)}
482 >  FLocalTimeZoneName := Gettzname(tzdaylight);
483 >  {$else}
484 >  FLocalTimeZoneName := tzname[tzdaylight];
485 >  {$ifend}
486    FIsDaylightSavingsTime := tzdaylight;
487    if FileExists(DefaultTimeZoneFile) then
488    begin

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines