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