1 |
+ |
FBINTF Change Log version (1.4-0 Build 12952) Tue, 07 Dec 2021 11:53:46 +0000 |
2 |
+ |
|
3 |
+ |
1. Client side journaling support added. Interface changes |
4 |
+ |
IAttachment |
5 |
+ |
function JournalingActive: boolean; |
6 |
+ |
function GetJournalOptions: TJournalOptions; |
7 |
+ |
function StartJournaling(aJournalLogFile: AnsiString): integer; overload; |
8 |
+ |
function StartJournaling(aJournalLogFile: AnsiString; Options: TJournalOptions): integer; overload; |
9 |
+ |
function StartJournaling(S: TStream; Options: TJournalOptions): integer; overload; |
10 |
+ |
procedure StopJournaling(RetainJournal: boolean); |
11 |
+ |
|
12 |
+ |
|
13 |
+ |
2. Transactions may now be given a local transaction name: |
14 |
+ |
IFirebirdAPI |
15 |
+ |
function StartTransaction(Attachments: array of IAttachment; |
16 |
+ |
TPB: array of byte; DefaultCompletion: TTransactionCompletion=taCommit): ITransaction; overload; |
17 |
+ |
TPB: array of byte; DefaultCompletion: TTransactionCompletion=taCommit; |
18 |
+ |
aName: AnsiString=''): ITransaction; overload; |
19 |
+ |
function StartTransaction(Attachments: array of IAttachment; |
20 |
+ |
TPB: ITPB; DefaultCompletion: TTransactionCompletion=taCommit): ITransaction; overload; |
21 |
+ |
TPB: ITPB; DefaultCompletion: TTransactionCompletion=taCommit; |
22 |
+ |
aName: AnsiString=''): ITransaction; overload; |
23 |
+ |
|
24 |
+ |
IAttachment |
25 |
+ |
function StartTransaction(TPB: array of byte; DefaultCompletion: TTransactionCompletion=taCommit): ITransaction; overload; |
26 |
+ |
function StartTransaction(TPB: ITPB; DefaultCompletion: TTransactionCompletion=taCommit): ITransaction; overload; |
27 |
+ |
function StartTransaction(TPB: array of byte; |
28 |
+ |
DefaultCompletion: TTransactionCompletion=taCommit; |
29 |
+ |
aName: AnsiString=''): ITransaction; overload; |
30 |
+ |
function StartTransaction(TPB: ITPB; |
31 |
+ |
DefaultCompletion: TTransactionCompletion=taCommit; |
32 |
+ |
aName: AnsiString=''): ITransaction; overload; |
33 |
+ |
|
34 |
+ |
ITransaction |
35 |
+ |
function GetTransactionName: AnsiString; |
36 |
+ |
procedure SetTransactionName(aValue: AnsiString); |
37 |
+ |
|
38 |
+ |
3. Additional Transaction information |
39 |
+ |
ITPB.function AsText: AnsiString; {Returns TPB as a text string} |
40 |
+ |
|
41 |
+ |
ITransaction |
42 |
+ |
function GetDefaultCompletion: TTransactionCompletion; |
43 |
+ |
function GetJournalingActive(attachment: IAttachment): boolean; {attachment must be specified when multi-database transaction} |
44 |
+ |
|
45 |
+ |
4. New IAttachment helper functions |
46 |
+ |
function HasTable(aTableName: AnsiString): boolean; |
47 |
+ |
function HasFunction(aFunctionName: AnsiString): boolean; |
48 |
+ |
function HasProcedure(aProcName: AnsiString): boolean; |
49 |
+ |
function GetAttachmentID: integer; |
50 |
+ |
function GetCharSetID: integer; |
51 |
+ |
|
52 |
+ |
5. IStatement: if the BatchRowLimit is set to maxint, the maximum possible buffer size |
53 |
+ |
will be allocted for batch operations. |
54 |
+ |
|
55 |
+ |
6. IStatement, IColumnMetaData and ISQLParam all now consistently provide: |
56 |
+ |
function GetStatement: IStatement; |
57 |
+ |
function GetTransaction: ITransaction; |
58 |
+ |
function GetAttachment: IAttachment; |
59 |
+ |
|
60 |
+ |
7. Internal: a more disciplined approach to the handling of Firebird.IReferenceCounted |
61 |
+ |
interfaces. |
62 |
+ |
|
63 |
+ |
8. New interface type: IFBNumeric. IFBNumeric is implemented in the unit FBNumeric |
64 |
+ |
and concentrates all handling of Fixed Point numbers. New ISQLItem and ISQLParam |
65 |
+ |
functions getAsNumeric and setAsNumeric allow for direct retrival and manipulation |
66 |
+ |
of numerics without loss of precision. |
67 |
+ |
|
68 |
+ |
9. TryStrToNumeric and NumericToDouble moved from IBUtils to FBNumeric. |
69 |
+ |
|
70 |
+ |
10. ISQLParams new method "Clear" |
71 |
+ |
|
72 |
+ |
11. Support package fbudr added for support of User Defined Routines (UDRs). |
73 |
+ |
|
74 |
+ |
12. Package layout changed with introduction of udr support. IB*.pas files moved from |
75 |
+ |
root directory to "client". IBHeader move to "Client". |
76 |
+ |
|
77 |
+ |
13. Connection Info (e.g. ODS Version, Remote Protocol) now retrieved on first |
78 |
+ |
request rather than on attachment connect. |
79 |
+ |
|
80 |
+ |
|
81 |
|
FBINTF Change Log version (1.3-3 Build 12935) Mon, 06 Dec 2021 23:17:13 +0000 |
82 |
|
|
83 |
|
1. Fix compile error with fpc trunk (3.3.1 and later), due to type change to tzname in "unix" unit. |
118 |
|
8. ITransaction (Firebird 3 and later): An exception raised when freeing an underlying |
119 |
|
transaction handle is now ignored if Rollback/Commit is called with Force=true |
120 |
|
|
121 |
+ |
9. Tidy up of exception handling code. Under the legacy API, fb_interpret is now |
122 |
+ |
used to get an IBError Message instead of isc_interprete. |
123 |
+ |
|
124 |
+ |
10. Internal tidyup. Native code now used for decoding integers and the events |
125 |
+ |
buffer. Avoids dependencies on fbclient functions isc_portable_integer, |
126 |
+ |
isc_event_block and isc_event_counts. |
127 |
+ |
|
128 |
+ |
11. New IAttachment function |
129 |
+ |
function GetAttachmentID: integer; |
130 |
+ |
|
131 |
+ |
12. Internal changes to TFBClientAPI, TFBAttachment and TFBTransaction and TFB30 |
132 |
+ |
subclasses to enable UDR support. |
133 |
+ |
|
134 |
|
FBINTF Change Log version (1.3-2 Build 12889) Sun, 24 Oct 2021 13:49:28 +0100 |
135 |
|
|
136 |
|
1. TFBClientAPI.GetProcAddr. Add check for nil reference. |