1 |
+ |
FBINTF Change Log version (1.4-1 Build 14083) Fri, 20 Oct 2023 11:41:24 +0100 |
2 |
+ |
|
3 |
+ |
1. FBSQLData: ensure that TResults.getSQLData and TResults.GetData use same error |
4 |
+ |
checks for range checking. |
5 |
+ |
|
6 |
+ |
2. FB25Client: In GetIBMessage, fb_interpret is now called multiple times such that |
7 |
+ |
any additional error information is decoded. |
8 |
+ |
|
9 |
+ |
3. FB25Statement: When changing a param type from Blob sub_type 1 to SQL_TEXT or SQL_VARYING |
10 |
+ |
charsetid is now preserved and size is set to default blob size. Now aligns with |
11 |
+ |
FB3 and later. |
12 |
+ |
|
13 |
+ |
4. DDL and DML string literals are now explicitly set to the connection character |
14 |
+ |
set rather than the default character set provided by the compiler. |
15 |
+ |
|
16 |
+ |
5. General tidy up of transliteration functions, now centralised in IBUtils. FPC testing |
17 |
+ |
now makes use of the RTL fpwidestring unit for support of international character |
18 |
+ |
sets. |
19 |
+ |
|
20 |
+ |
6. Database exception handling (see section 9.3 in user guide). |
21 |
+ |
* For FB3 and later API: Connection Character set now applied to message returned |
22 |
+ |
by fb_interpret and message then transliterated if necessary to the system character set. |
23 |
+ |
* For Legacy API: The message character set is guessed as UTF8 unless invalid |
24 |
+ |
UTF8 characters found when connection character set is assumed. Message then |
25 |
+ |
transliterated if necessary to system character set. |
26 |
+ |
Note: this difference of behaviour is because legacy API presents exception messages |
27 |
+ |
"as is", while FB3 server attempts to transliterate to connection character set. |
28 |
+ |
|
29 |
+ |
FBINTF Change Log version (1.4-0 Build 14011) Sat, 05 Aug 2023 11:09:09 +0100 |
30 |
+ |
|
31 |
+ |
1. Support package fbudr added for support of User Defined Routines (UDRs), and package |
32 |
+ |
fbudrtestbed for client side debugging of UDR libraries. |
33 |
+ |
|
34 |
+ |
2. Package layout changed with introduction of udr support. IB*.pas files moved from |
35 |
+ |
root directory to "client". IBHeader moved to "Client". |
36 |
+ |
|
37 |
+ |
3. Delphi packages: all packages now compile .dcp and .bpi files to either |
38 |
+ |
fbintf\Win32\Debug or fbintf\Win64\Debug by default. Please remove any pre-existing |
39 |
+ |
fbintf.dcp and fbintf.bpi files from other locations. |
40 |
+ |
|
41 |
+ |
4. Client side journaling support added. Interface changes |
42 |
+ |
IAttachment |
43 |
+ |
function JournalingActive: boolean; |
44 |
+ |
function GetJournalOptions: TJournalOptions; |
45 |
+ |
function StartJournaling(aJournalLogFile: AnsiString): integer; overload; |
46 |
+ |
function StartJournaling(aJournalLogFile: AnsiString; Options: TJournalOptions): integer; overload; |
47 |
+ |
function StartJournaling(S: TStream; Options: TJournalOptions): integer; overload; |
48 |
+ |
procedure StopJournaling(RetainJournal: boolean); |
49 |
+ |
|
50 |
+ |
5. Transactions may now be given a local transaction name: |
51 |
+ |
IFirebirdAPI |
52 |
+ |
function StartTransaction(Attachments: array of IAttachment; |
53 |
+ |
TPB: array of byte; DefaultCompletion: TTransactionCompletion=taCommit): ITransaction; overload; |
54 |
+ |
TPB: array of byte; DefaultCompletion: TTransactionCompletion=taCommit; |
55 |
+ |
aName: AnsiString=''): ITransaction; overload; |
56 |
+ |
function StartTransaction(Attachments: array of IAttachment; |
57 |
+ |
TPB: ITPB; DefaultCompletion: TTransactionCompletion=taCommit): ITransaction; overload; |
58 |
+ |
TPB: ITPB; DefaultCompletion: TTransactionCompletion=taCommit; |
59 |
+ |
aName: AnsiString=''): ITransaction; overload; |
60 |
+ |
|
61 |
+ |
IAttachment |
62 |
+ |
function StartTransaction(TPB: array of byte; DefaultCompletion: TTransactionCompletion=taCommit): ITransaction; overload; |
63 |
+ |
function StartTransaction(TPB: ITPB; DefaultCompletion: TTransactionCompletion=taCommit): ITransaction; overload; |
64 |
+ |
function StartTransaction(TPB: array of byte; |
65 |
+ |
DefaultCompletion: TTransactionCompletion=taCommit; |
66 |
+ |
aName: AnsiString=''): ITransaction; overload; |
67 |
+ |
function StartTransaction(TPB: ITPB; |
68 |
+ |
DefaultCompletion: TTransactionCompletion=taCommit; |
69 |
+ |
aName: AnsiString=''): ITransaction; overload; |
70 |
+ |
|
71 |
+ |
ITransaction |
72 |
+ |
function GetTransactionName: AnsiString; |
73 |
+ |
procedure SetTransactionName(aValue: AnsiString); |
74 |
+ |
|
75 |
+ |
6. Additional Transaction information |
76 |
+ |
ITPB.function AsText: AnsiString; {Returns TPB as a text string} |
77 |
+ |
|
78 |
+ |
ITransaction |
79 |
+ |
function GetDefaultCompletion: TTransactionCompletion; |
80 |
+ |
function GetJournalingActive(attachment: IAttachment): boolean; {attachment must be specified when multi-database transaction} |
81 |
+ |
|
82 |
+ |
7. New IAttachment helper functions |
83 |
+ |
function HasTable(aTableName: AnsiString): boolean; |
84 |
+ |
function HasFunction(aFunctionName: AnsiString): boolean; |
85 |
+ |
function HasProcedure(aProcName: AnsiString): boolean; |
86 |
+ |
function GetAttachmentID: integer; |
87 |
+ |
function GetCharSetID: integer; |
88 |
+ |
|
89 |
+ |
8. IStatement: if the BatchRowLimit is set to maxint, the maximum possible buffer size |
90 |
+ |
will be allocated for batch operations. |
91 |
+ |
|
92 |
+ |
9. IStatement, IColumnMetaData and ISQLParam all now consistently provide: |
93 |
+ |
function GetStatement: IStatement; |
94 |
+ |
function GetTransaction: ITransaction; |
95 |
+ |
function GetAttachment: IAttachment; |
96 |
+ |
|
97 |
+ |
10. Internal: a more disciplined approach to the handling of Firebird.IReferenceCounted |
98 |
+ |
interfaces. |
99 |
+ |
|
100 |
+ |
11. New interface type: IFBNumeric. IFBNumeric is implemented in the unit FBNumeric |
101 |
+ |
and concentrates all handling of Fixed Point numbers. New ISQLItem and ISQLParam |
102 |
+ |
functions getAsNumeric and setAsNumeric allow for direct retrival and manipulation |
103 |
+ |
of numerics without loss of precision. |
104 |
+ |
|
105 |
+ |
12. TryStrToNumeric and NumericToDouble moved from IBUtils to FBNumeric. |
106 |
+ |
|
107 |
+ |
13. ISQLParams new method "Clear" |
108 |
+ |
|
109 |
+ |
14. Connection Info (e.g. ODS Version, Remote Protocol) now retrieved on first |
110 |
+ |
request rather than on attachment connect. |
111 |
+ |
|
112 |
+ |
15. IStatus.IBDataBaseErrorMessages now defaults to [ShowIBMessage]. This reflects the |
113 |
+ |
fact that SQLCodes are soon to be deprecated. In the future, the other options |
114 |
+ |
will be silently ignored if SQLCode support is not present in the Firebird |
115 |
+ |
Client library. |
116 |
+ |
|
117 |
+ |
16. ITransaction changes Rollback and Commit from procedures to functions: |
118 |
+ |
function Commit(Force: boolean=false): TTrCompletionState; |
119 |
+ |
function Rollback(Force: boolean=false): TTrCompletionState; |
120 |
+ |
|
121 |
+ |
Specifically, this is to allow the functions to report back a failed commit or |
122 |
+ |
rollback when Force = true. In the case, the transaction handle has been |
123 |
+ |
released, while the transaction remains in limbo. |
124 |
+ |
|
125 |
+ |
17. IAttachment ExecImmediate. |
126 |
+ |
When the transaction parameters are provided as an array of const and the |
127 |
+ |
statement fails, the transaction is rolledback (forced) before the exception |
128 |
+ |
is raised. |
129 |
+ |
|
130 |
+ |
18. In Firebird 3 and later API: the status vector is now a thread var, as was |
131 |
+ |
already the case with the legacy API. Avoids problems when calling underlying |
132 |
+ |
Firebird API in multiple threads. |
133 |
+ |
|
134 |
+ |
19. IBUtils: TSQLXMLReader: "string" type changed to "AnsiString" for compatibility |
135 |
+ |
reasons. |
136 |
+ |
|
137 |
+ |
20. IDBInformation.DecodeVersionString now supported isc_info_firebird_version. |
138 |
+ |
|
139 |
+ |
21. TSQLXMLReader: handle 'blob' as a reserved word |
140 |
+ |
|
141 |
+ |
22. ISQLParam.SetAsVariant now accepts a vartype of varUString (UnicodeString). |
142 |
+ |
|
143 |
+ |
|
144 |
+ |
FBINTF Change Log version (1.3-3 Build 12935) Mon, 06 Dec 2021 23:17:13 +0000 |
145 |
+ |
|
146 |
+ |
1. Fix compile error with fpc trunk (3.3.1 and later), due to type change to tzname in "unix" unit. |
147 |
+ |
|
148 |
+ |
2. Remove constraint in IAttachment.HasScollableCursors that returned false when |
149 |
+ |
using remote protocol. Scrollable cursors with remote database expected to |
150 |
+ |
be support for Firebird 4.0.1 onwards. Note: Firebird 4.0.0 will return |
151 |
+ |
a not supported error. |
152 |
+ |
|
153 |
+ |
3. IStatement: new function; |
154 |
+ |
TStatementFlag = (stHasCursor,stRepeatExecute,stScrollable); |
155 |
+ |
TStatementFlags = set of TStatementFlag; |
156 |
+ |
function GetFlags: TStatementFlags; |
157 |
+ |
|
158 |
+ |
4. Revised behaviour for IStatement.ExecuteQuery in order to preserve backwards |
159 |
+ |
compatibility. |
160 |
+ |
In Firebird 5, Update..Returning may returns multiple rows and hence the statemen |
161 |
+ |
type changes from ExecProcedure to Select. So that ExecuteQuery can continue |
162 |
+ |
to be used with Update...Retruning statements that return a singleton row, |
163 |
+ |
instead of raising an exception when ExecuteQuery is used with a (SELECT) statement, |
164 |
+ |
it will open the cursor and return the first row only. |
165 |
+ |
|
166 |
+ |
5. ITransaction: new functions: |
167 |
+ |
function GetIsReadOnly: boolean; |
168 |
+ |
function GetTransactionID: integer; |
169 |
+ |
function GetTrInformation(Requests: array of byte): ITrInformation; overload; |
170 |
+ |
function GetTrInformation(Request: byte): ITrInformation; overload; |
171 |
+ |
|
172 |
+ |
The latter two return the Transaction Information block. The first two extract |
173 |
+ |
information the Transaction Information block |
174 |
+ |
|
175 |
+ |
6. New function TSQLTokeniser.ReadCharacters |
176 |
+ |
Used internally. |
177 |
+ |
|
178 |
+ |
7. IStatement: GetProcessedSQL bug fix. No longer raises and error if SQL contains |
179 |
+ |
parameter placeholders instead of named parameters. |
180 |
+ |
|
181 |
+ |
8. ITransaction (Firebird 3 and later): An exception raised when freeing an underlying |
182 |
+ |
transaction handle is now ignored if Rollback/Commit is called with Force=true |
183 |
+ |
|
184 |
+ |
9. Tidy up of exception handling code. Under the legacy API, fb_interpret is now |
185 |
+ |
used to get an IBError Message instead of isc_interprete. |
186 |
+ |
|
187 |
+ |
10. Internal tidyup. Native code now used for decoding integers and the events |
188 |
+ |
buffer. Avoids dependencies on fbclient functions isc_portable_integer, |
189 |
+ |
isc_event_block and isc_event_counts. |
190 |
+ |
|
191 |
+ |
11. New IAttachment function |
192 |
+ |
function GetAttachmentID: integer; |
193 |
+ |
|
194 |
+ |
12. Internal changes to TFBClientAPI, TFBAttachment and TFBTransaction and TFB30 |
195 |
+ |
subclasses to enable UDR support. |
196 |
+ |
|
197 |
|
FBINTF Change Log version (1.3-2 Build 12889) Sun, 24 Oct 2021 13:49:28 +0100 |
198 |
|
|
199 |
|
1. TFBClientAPI.GetProcAddr. Add check for nil reference. |