1 |
< |
FBINTF Change Log version (1.1-5 Build 12034) Fri, 17 Apr 2020 12:28:42 +0100 |
1 |
> |
FBINTF Change Log version (1.4-0 Build 13139) Wed, 09 Feb 2022 16:12:05 +0000 |
2 |
> |
|
3 |
> |
1. Support package fbudr added for support of User Defined Routines (UDRs), and package |
4 |
> |
fbudrtestbed for client side debugging of UDR libraries. |
5 |
> |
|
6 |
> |
2. Package layout changed with introduction of udr support. IB*.pas files moved from |
7 |
> |
root directory to "client". IBHeader move to "Client". |
8 |
> |
|
9 |
> |
3. Delphi packages: all packages now compile .dcp and .bpi files to either |
10 |
> |
fbintf\Win32\Debug or fbintf\Win64\Debug by default. Please remove any pre-existing |
11 |
> |
fbintf.dcp and fbintf.bpi files from other locations. |
12 |
> |
|
13 |
> |
4. Client side journaling support added. Interface changes |
14 |
> |
IAttachment |
15 |
> |
function JournalingActive: boolean; |
16 |
> |
function GetJournalOptions: TJournalOptions; |
17 |
> |
function StartJournaling(aJournalLogFile: AnsiString): integer; overload; |
18 |
> |
function StartJournaling(aJournalLogFile: AnsiString; Options: TJournalOptions): integer; overload; |
19 |
> |
function StartJournaling(S: TStream; Options: TJournalOptions): integer; overload; |
20 |
> |
procedure StopJournaling(RetainJournal: boolean); |
21 |
> |
|
22 |
> |
5. Transactions may now be given a local transaction name: |
23 |
> |
IFirebirdAPI |
24 |
> |
function StartTransaction(Attachments: array of IAttachment; |
25 |
> |
TPB: array of byte; DefaultCompletion: TTransactionCompletion=taCommit): ITransaction; overload; |
26 |
> |
TPB: array of byte; DefaultCompletion: TTransactionCompletion=taCommit; |
27 |
> |
aName: AnsiString=''): ITransaction; overload; |
28 |
> |
function StartTransaction(Attachments: array of IAttachment; |
29 |
> |
TPB: ITPB; DefaultCompletion: TTransactionCompletion=taCommit): ITransaction; overload; |
30 |
> |
TPB: ITPB; DefaultCompletion: TTransactionCompletion=taCommit; |
31 |
> |
aName: AnsiString=''): ITransaction; overload; |
32 |
> |
|
33 |
> |
IAttachment |
34 |
> |
function StartTransaction(TPB: array of byte; DefaultCompletion: TTransactionCompletion=taCommit): ITransaction; overload; |
35 |
> |
function StartTransaction(TPB: ITPB; DefaultCompletion: TTransactionCompletion=taCommit): ITransaction; overload; |
36 |
> |
function StartTransaction(TPB: array of byte; |
37 |
> |
DefaultCompletion: TTransactionCompletion=taCommit; |
38 |
> |
aName: AnsiString=''): ITransaction; overload; |
39 |
> |
function StartTransaction(TPB: ITPB; |
40 |
> |
DefaultCompletion: TTransactionCompletion=taCommit; |
41 |
> |
aName: AnsiString=''): ITransaction; overload; |
42 |
> |
|
43 |
> |
ITransaction |
44 |
> |
function GetTransactionName: AnsiString; |
45 |
> |
procedure SetTransactionName(aValue: AnsiString); |
46 |
> |
|
47 |
> |
6. Additional Transaction information |
48 |
> |
ITPB.function AsText: AnsiString; {Returns TPB as a text string} |
49 |
> |
|
50 |
> |
ITransaction |
51 |
> |
function GetDefaultCompletion: TTransactionCompletion; |
52 |
> |
function GetJournalingActive(attachment: IAttachment): boolean; {attachment must be specified when multi-database transaction} |
53 |
> |
|
54 |
> |
7. New IAttachment helper functions |
55 |
> |
function HasTable(aTableName: AnsiString): boolean; |
56 |
> |
function HasFunction(aFunctionName: AnsiString): boolean; |
57 |
> |
function HasProcedure(aProcName: AnsiString): boolean; |
58 |
> |
function GetAttachmentID: integer; |
59 |
> |
function GetCharSetID: integer; |
60 |
> |
|
61 |
> |
8. IStatement: if the BatchRowLimit is set to maxint, the maximum possible buffer size |
62 |
> |
will be allocted for batch operations. |
63 |
> |
|
64 |
> |
9. IStatement, IColumnMetaData and ISQLParam all now consistently provide: |
65 |
> |
function GetStatement: IStatement; |
66 |
> |
function GetTransaction: ITransaction; |
67 |
> |
function GetAttachment: IAttachment; |
68 |
> |
|
69 |
> |
10. Internal: a more disciplined approach to the handling of Firebird.IReferenceCounted |
70 |
> |
interfaces. |
71 |
> |
|
72 |
> |
11. New interface type: IFBNumeric. IFBNumeric is implemented in the unit FBNumeric |
73 |
> |
and concentrates all handling of Fixed Point numbers. New ISQLItem and ISQLParam |
74 |
> |
functions getAsNumeric and setAsNumeric allow for direct retrival and manipulation |
75 |
> |
of numerics without loss of precision. |
76 |
> |
|
77 |
> |
12. TryStrToNumeric and NumericToDouble moved from IBUtils to FBNumeric. |
78 |
> |
|
79 |
> |
13. ISQLParams new method "Clear" |
80 |
> |
|
81 |
> |
14. Connection Info (e.g. ODS Version, Remote Protocol) now retrieved on first |
82 |
> |
request rather than on attachment connect. |
83 |
> |
|
84 |
> |
15. IStatus.IBDataBaseErrorMessages now defaults to [ShowIBMessage]. This reflects the |
85 |
> |
fact that SQLCodes are soon to be deprecated. In the future, the other options |
86 |
> |
will be silently ignored if SQLCode support is not present in the Firebird |
87 |
> |
Client library. |
88 |
> |
|
89 |
> |
16. ITransaction changes Rollback and Commit from procedures to functions: |
90 |
> |
function Commit(Force: boolean=false): TTrCompletionState; |
91 |
> |
function Rollback(Force: boolean=false): TTrCompletionState; |
92 |
> |
|
93 |
> |
Specifically, this is to allow the functions to report back a failed commit or |
94 |
> |
rollback when Force = true. In the case, the transaction handle has been |
95 |
> |
released, while the transaction remains in limbo. |
96 |
> |
|
97 |
> |
17. IAttachment ExecImmediate. |
98 |
> |
When the transaction parameters are provided as an array of const and the |
99 |
> |
statement fails, the transaction is rolledback (forced) before the exception |
100 |
> |
is raised. |
101 |
> |
|
102 |
> |
18. In Firebird 3 and later API: the status vector is now a thread var, as was |
103 |
> |
already the case with the legacy API. Avoids problems when calling underlying |
104 |
> |
Firebird API in multiple threads. |
105 |
> |
|
106 |
> |
|
107 |
> |
|
108 |
> |
FBINTF Change Log version (1.3-3 Build 12935) Mon, 06 Dec 2021 23:17:13 +0000 |
109 |
> |
|
110 |
> |
1. Fix compile error with fpc trunk (3.3.1 and later), due to type change to tzname in "unix" unit. |
111 |
> |
|
112 |
> |
2. Remove constraint in IAttachment.HasScollableCursors that returned false when |
113 |
> |
using remote protocol. Scrollable cursors with remote database expected to |
114 |
> |
be support for Firebird 4.0.1 onwards. Note: Firebird 4.0.0 will return |
115 |
> |
a not supported error. |
116 |
> |
|
117 |
> |
3. IStatement: new function; |
118 |
> |
TStatementFlag = (stHasCursor,stRepeatExecute,stScrollable); |
119 |
> |
TStatementFlags = set of TStatementFlag; |
120 |
> |
function GetFlags: TStatementFlags; |
121 |
> |
|
122 |
> |
4. Revised behaviour for IStatement.ExecuteQuery in order to preserve backwards |
123 |
> |
compatibility. |
124 |
> |
In Firebird 5, Update..Returning may returns multiple rows and hence the statemen |
125 |
> |
type changes from ExecProcedure to Select. So that ExecuteQuery can continue |
126 |
> |
to be used with Update...Retruning statements that return a singleton row, |
127 |
> |
instead of raising an exception when ExecuteQuery is used with a (SELECT) statement, |
128 |
> |
it will open the cursor and return the first row only. |
129 |
> |
|
130 |
> |
5. ITransaction: new functions: |
131 |
> |
function GetIsReadOnly: boolean; |
132 |
> |
function GetTransactionID: integer; |
133 |
> |
function GetTrInformation(Requests: array of byte): ITrInformation; overload; |
134 |
> |
function GetTrInformation(Request: byte): ITrInformation; overload; |
135 |
> |
|
136 |
> |
The latter two return the Transaction Information block. The first two extract |
137 |
> |
information the Transaction Information block |
138 |
> |
|
139 |
> |
6. New function TSQLTokeniser.ReadCharacters |
140 |
> |
Used internally. |
141 |
> |
|
142 |
> |
7. IStatement: GetProcessedSQL bug fix. No longer raises and error if SQL contains |
143 |
> |
parameter placeholders instead of named parameters. |
144 |
> |
|
145 |
> |
8. ITransaction (Firebird 3 and later): An exception raised when freeing an underlying |
146 |
> |
transaction handle is now ignored if Rollback/Commit is called with Force=true |
147 |
> |
|
148 |
> |
9. Tidy up of exception handling code. Under the legacy API, fb_interpret is now |
149 |
> |
used to get an IBError Message instead of isc_interprete. |
150 |
> |
|
151 |
> |
10. Internal tidyup. Native code now used for decoding integers and the events |
152 |
> |
buffer. Avoids dependencies on fbclient functions isc_portable_integer, |
153 |
> |
isc_event_block and isc_event_counts. |
154 |
> |
|
155 |
> |
11. New IAttachment function |
156 |
> |
function GetAttachmentID: integer; |
157 |
> |
|
158 |
> |
12. Internal changes to TFBClientAPI, TFBAttachment and TFBTransaction and TFB30 |
159 |
> |
subclasses to enable UDR support. |
160 |
> |
|
161 |
> |
FBINTF Change Log version (1.3-2 Build 12889) Sun, 24 Oct 2021 13:49:28 +0100 |
162 |
> |
|
163 |
> |
1. TFBClientAPI.GetProcAddr. Add check for nil reference. |
164 |
> |
|
165 |
> |
2. IStatement: new methods: |
166 |
> |
procedure SetStaleReferenceChecks(Enable:boolean); {default true} |
167 |
> |
function GetStaleReferenceChecks: boolean; |
168 |
> |
|
169 |
> |
In previous versions, stale reference checks were always enabled. This allows the |
170 |
> |
user to disable them on a per statement basis. Note this can risk out-of-date |
171 |
> |
statement BLR. See User Guide. |
172 |
> |
|
173 |
> |
3. IBUtils: TSQLwithNamedParamsTokeniser now recognises a CASE...END block within a |
174 |
> |
stored procedure and hence avoids replacing named parameters within a containing |
175 |
> |
BEGIN..END block. |
176 |
> |
|
177 |
> |
4. ISQLParam: using a string value to set an integer field with a scale factor of |
178 |
> |
zero is now treated as a special case to avoid the risk of floating point |
179 |
> |
rounding errors affecting pure integers. |
180 |
> |
|
181 |
> |
5. ISQLParam: Review and tidy-up of SetAsString for numeric types. |
182 |
> |
|
183 |
> |
6. ISQLParam is now subclassed from IParamMetaData, which provides access to the mutable |
184 |
> |
SQL Parameter metadata (methods moved from ISQLParam). |
185 |
> |
|
186 |
> |
7. ISQLParam: new method |
187 |
> |
function getColMetadata: IParamMetaData; |
188 |
> |
This instance of IParamMetaData returns the original column metadata which is unmutable. |
189 |
> |
Note: ISQLParam metadata can change after a parameter value has been set e.g when |
190 |
> |
setting a VARCHAR column to an integer value. |
191 |
> |
|
192 |
> |
8. IStatement: can now set cursor name when opening a cursor. New overloaded method: |
193 |
> |
procedure Prepare(CursorName: AnsiString; aTransaction: ITransaction=nil); overload; |
194 |
> |
also IAttachment: |
195 |
> |
function Prepare(transaction: ITransaction; sql: AnsiString; aSQLDialect: integer; CursorName: AnsiString=''): IStatement; overload; |
196 |
> |
function Prepare(transaction: ITransaction; sql: AnsiString; CursorName: AnsiString=''): IStatement; overload; |
197 |
> |
function PrepareWithNamedParameters(transaction: ITransaction; sql: AnsiString; |
198 |
> |
aSQLDialect: integer; GenerateParamNames: boolean=false; |
199 |
> |
CaseSensitiveParams: boolean = false; CursorName: AnsiString=''): IStatement; overload; |
200 |
> |
function PrepareWithNamedParameters(transaction: ITransaction; sql: AnsiString; |
201 |
> |
GenerateParamNames: boolean=false; |
202 |
> |
CaseSensitiveParams: boolean = false; CursorName: AnsiString=''): IStatement; overload; |
203 |
> |
|
204 |
> |
9. Support for scrollable cursors added. New/updated methods: |
205 |
> |
IAttachment: |
206 |
> |
function HasScollableCursors: boolean; |
207 |
> |
function OpenCursor(transaction: ITransaction; sql: AnsiString; aSQLDialect: integer; |
208 |
> |
Scrollable: boolean=false): IResultSet; overload; |
209 |
> |
function OpenCursor(transaction: ITransaction; sql: AnsiString; Scrollable: boolean=false): IResultSet; overload; |
210 |
> |
function OpenCursor(transaction: ITransaction; sql: AnsiString; aSQLDialect: integer; Scrollable: boolean; |
211 |
> |
params: array of const): IResultSet; overload; |
212 |
> |
function OpenCursor(transaction: ITransaction; sql: AnsiString; Scrollable: boolean=false; |
213 |
> |
params: array of const): IResultSet; overload; |
214 |
> |
function OpenCursorAtStart(transaction: ITransaction; sql: AnsiString; aSQLDialect: integer; Scrollable: boolean; |
215 |
> |
params: array of const): IResultSet; overload; |
216 |
> |
function OpenCursorAtStart(transaction: ITransaction; sql: AnsiString; aSQLDialect: integer; |
217 |
> |
Scrollable: boolean=false): IResultSet; overload; |
218 |
> |
function OpenCursorAtStart(transaction: ITransaction; sql: AnsiString; Scrollable: boolean=false): IResultSet; overload; |
219 |
> |
function OpenCursorAtStart(transaction: ITransaction; sql: AnsiString; Scrollable: boolean; |
220 |
> |
params: array of const): IResultSet; overload; |
221 |
> |
function OpenCursorAtStart(sql: AnsiString; Scrollable: boolean=false): IResultSet; overload; |
222 |
> |
function OpenCursorAtStart(sql: AnsiString; Scrollable: boolean; |
223 |
> |
params: array of const): IResultSet; overload; |
224 |
> |
IStatement: |
225 |
> |
function OpenCursor(Scrollable: boolean; CursorName: AnsiString =''; aTransaction: ITransaction=nil): IResultSet; overload; |
226 |
> |
IResultSet: |
227 |
> |
function FetchPrior: boolean; {fetch previous record} |
228 |
> |
function FetchFirst:boolean; {fetch first record} |
229 |
> |
function FetchLast: boolean; {fetch last record} |
230 |
> |
function FetchAbsolute(position: Integer): boolean; {fetch record by its absolute position in result set} |
231 |
> |
function FetchRelative(offset: Integer): boolean; {fetch record by position relative to current} |
232 |
> |
function IsBof: boolean; |
233 |
> |
|
234 |
> |
10. IArray: tidyup of SetAsString method to ensure correct handling of fixed point numbers. |
235 |
> |
|
236 |
> |
11. IBUtils: TSQLTokeniser. CRLF now combined by low level parser into sqltEOL token. This |
237 |
> |
may be noticeable when a line separator occurs inside quoted text. The quoted text |
238 |
> |
output by the tokeniser will now use the platform specific lineEnding regardless |
239 |
> |
of whether the input uses the CRLF or LF as a line separator. |
240 |
> |
|
241 |
> |
12. IStatement, IResultsSet: Support for scrollable cursors added (note: local databases only) |
242 |
> |
|
243 |
> |
|
244 |
> |
FBINTF Change Log version (1.3-1 Build 12776) Mon, 23 Aug 2021 11:09:33 +0100 |
245 |
> |
|
246 |
> |
1. Integer decodes in information blocks (e.g. IDBInfoItem) widened from 32 bit to 64-bit integers. |
247 |
> |
|
248 |
> |
2. Support for inline blob encoding. Blob values pass using the "SetAsString" method |
249 |
> |
will now be encoded inline (i.e. as part of the parameter buffer) if they are |
250 |
> |
shorter than a pre-set limit. Longer values continue to be saved as blobs as a |
251 |
> |
separate server interaction. This is intended as a performance optimisation. |
252 |
> |
|
253 |
> |
The pre-set limit defaults to 8192 bytes and can be inspected/modified using the new |
254 |
> |
IAttachment interface functions: |
255 |
> |
|
256 |
> |
function GetInlineBlobLimit: integer; |
257 |
> |
procedure SetInlineBlobLimit(limit: integer); |
258 |
> |
|
259 |
> |
3. Support for Firebird 4 IBatch interface added. This is largely transparent to the API |
260 |
> |
user as the functionality is embedded in the implementation of the IStatement |
261 |
> |
interface. Three new functions are defined: |
262 |
> |
|
263 |
> |
procedure AddToBatch; |
264 |
> |
function ExecuteBatch(aTransaction: ITransaction=nil): IBatchCompletion; |
265 |
> |
procedure CancelBatch; |
266 |
> |
function GetBatchCompletion: IBatchCompletion; |
267 |
> |
function GetBatchRowLimit: integer; |
268 |
> |
procedure SetBatchRowLimit(aLimit: integer); |
269 |
> |
|
270 |
> |
Also |
271 |
> |
|
272 |
> |
function IsInBatchMode: boolean; {true after call to execute(eaDefer)} |
273 |
> |
function HasBatchMode: boolean; {true if and only if IBatch Supported} |
274 |
> |
|
275 |
> |
For more information see the User Guide. |
276 |
> |
|
277 |
> |
4. Default error message contents. Now aligned with User Guide section 10.2 i.e. error messages |
278 |
> |
provided with the EIBInterBaseError now include all three parts. |
279 |
> |
|
280 |
> |
5. Firebird.pas and include files updated to Firebird 4.0.0 |
281 |
> |
|
282 |
> |
6. New IStatement method: function GetSQLStatementTypeName: AnsiString; |
283 |
> |
Returns SQL Statement type as a text string; |
284 |
> |
|
285 |
> |
7. ISQLData.AsInteger and AsInt64 now use "Round" to convert a float field to |
286 |
> |
an integer instead of "trunc". This is for compatibility with TFloatField.AsInteger. |
287 |
> |
|
288 |
> |
FBINTF Change Log version (1.2-1 Build 12552) Wed, 09 Jun 2021 13:05:40 +0100 |
289 |
> |
|
290 |
> |
1. Big fix for Firebird 4.0. A internal change in Firebird 4.0.0 from RC1 flushed out a |
291 |
> |
typo in FB30Statement.pas that caused an unknown parameter error. |
292 |
> |
|
293 |
> |
FBINTF Change Log version (1.2-0 Build 12520) Fri, 19 Feb 2021 13:27:23 +0000 |
294 |
> |
|
295 |
> |
1. Imported (Firebird) constants updated for Firebird 4. |
296 |
> |
|
297 |
> |
2. Firebird.pas from Firebird 4 integrated into source code tree. |
298 |
> |
|
299 |
> |
3. Added Support for TIMETAMP WITH TIME ZONE and TIME WITH TIME ZONE data types. |
300 |
> |
|
301 |
> |
4. Added Support for SQL_DEC16, SQL_DEC34 and extended NUMERIC precision. |
302 |
> |
|
303 |
> |
5. New unit 'FBClientLib.pas' added and provides new interface IFBIMasterProvider. |
304 |
> |
QueryInterface may be used to coerce this interface from IFirebirdAPI. The |
305 |
> |
interface provides a single method "function GetIMasterIntf: IMaster". This provides |
306 |
> |
type safe access to the Firebird IMaster interface and avoids the need to turn |
307 |
> |
off object checks when coercing "function GetIMaster: TObject" to IMaster. |
308 |
> |
|
309 |
> |
6. New IFirebirdAPI Calls: |
310 |
> |
function HasLocalTZDB: boolean; |
311 |
> |
function HasTimeZoneSupport: boolean; |
312 |
> |
function HasExtendedTZSupport: boolean; |
313 |
> |
procedure SQLDecFloatEncode(aValue: tBCD; SQLType: cardinal; bufptr: PByte); |
314 |
> |
function SQLDecFloatDecode(SQLType: cardinal; scale: integer; bufptr: PByte): tBCD; |
315 |
> |
|
316 |
> |
7. New IAttachment Calls: |
317 |
> |
function HasDecFloatSupport: boolean; |
318 |
> |
function GetTimeZoneServices: ITimeZoneServices; |
319 |
> |
function HasTimeZoneSupport: boolean; |
320 |
> |
|
321 |
> |
8. New Interface ITimeZoneServices. |
322 |
> |
|
323 |
> |
9. New ISQLData API Calls: |
324 |
> |
procedure GetAsDateTime(var aDateTime: TDateTime; var dstOffset: smallint; var aTimezoneID: TFBTimeZoneID); overload; |
325 |
> |
procedure GetAsDateTime(var aDateTime: TDateTime; var dstOffset: smallint; var aTimezone: AnsiString); overload; |
326 |
> |
procedure GetAsTime(var aTime: TDateTime; var dstOffset: smallint; var aTimezoneID: TFBTimeZoneID; OnDate: TDateTime); overload; |
327 |
> |
procedure GetAsTime(var aTime: TDateTime; var dstOffset: smallint; var aTimezone: AnsiString; OnDate: TDateTime); overload; |
328 |
> |
function GetAsUTCDateTime: TDateTime; |
329 |
> |
function GetAsBCD: tBCD; |
330 |
> |
|
331 |
> |
10. New ISQLParam API Calls |
332 |
> |
procedure GetAsDateTime(var aDateTime: TDateTime; var dstOffset: smallint; var aTimezoneID: TFBTimeZoneID); overload; |
333 |
> |
procedure GetAsDateTime(var aDateTime: TDateTime; var dstOffset: smallint; var aTimezone: AnsiString); overload; |
334 |
> |
procedure GetAsTime(var aTime: TDateTime; var dstOffset: smallint; var aTimezoneID: TFBTimeZoneID; OnDate: TDateTime); overload; |
335 |
> |
procedure GetAsTime(var aTime: TDateTime; var dstOffset: smallint; var aTimezone: AnsiString; OnDate: TDateTime); overload; |
336 |
> |
function GetAsUTCDateTime: TDateTime; |
337 |
> |
function GetAsBCD: tBCD; |
338 |
> |
function GetStatement: IStatement; |
339 |
> |
function GetTransaction: ITransaction; |
340 |
> |
procedure SetAsTime(aValue: TDateTime; OnDate: TDateTime; aTimeZoneID: TFBTimeZoneID); overload; |
341 |
> |
procedure SetAsTime(aValue: TDateTime; OnDate: TDateTime; aTimeZone: AnsiString); overload; |
342 |
> |
procedure SetAsDateTime(aValue: TDateTime; aTimeZoneID: TFBTimeZoneID); overload; |
343 |
> |
procedure SetAsDateTime(aValue: TDateTime; aTimeZone: AnsiString); overload; |
344 |
> |
procedure SetAsUTCDateTime(aUTCTime: TDateTime); |
345 |
> |
procedure SetAsBcd(aValue: tBCD); |
346 |
> |
|
347 |
> |
11. New IArray API Calls |
348 |
> |
procedure GetAsDateTime(index: array of integer; var aDateTime: TDateTime; var dstOffset: smallint; var aTimezoneID: TFBTimeZoneID); overload; |
349 |
> |
procedure GetAsDateTime(index: array of integer; var aDateTime: TDateTime; var dstOffset: smallint; var aTimezone: AnsiString); overload; |
350 |
> |
procedure GetAsTime(index: array of integer; var aTime: TDateTime; var dstOffset: smallint; var aTimezoneID: TFBTimeZoneID; OnDate: TDateTime); overload; |
351 |
> |
procedure GetAsTime(index: array of integer; var aTime: TDateTime; var dstOffset: smallint; var aTimezone: AnsiString; OnDate: TDateTime); overload; |
352 |
> |
function GetAsUTCDateTime(index: array of integer): TDateTime; |
353 |
> |
procedure SetAsDateTime(index: array of integer; aValue: TDateTime; aTimeZoneID: TFBTimeZoneID); overload; |
354 |
> |
procedure SetAsDateTime(index: array of integer; aValue: TDateTime; aTimeZone: AnsiString); overload; |
355 |
> |
procedure SetAsTime(index: array of integer; aValue: TDateTime; OnDate: TDateTime; aTimeZoneID: TFBTimeZoneID); overload; |
356 |
> |
procedure SetAsTime(index: array of integer; aValue: TDateTime; OnDate: TDateTime; aTimeZone: AnsiString); overload; |
357 |
> |
|
358 |
> |
12. Utility functions in IBUtils |
359 |
> |
function ParseDateTimeTZString(aDateTimeStr: Ansistring; var aDateTime: TDateTime; |
360 |
> |
var aTimezone: AnsiString; aFormatSettings: TFormatSettings; TimeOnly: boolean=false): boolean; |
361 |
> |
procedure FBDecodeTime(aTime: TDateTime; var Hour, Minute, Second: word; var DeciMillisecond: cardinal); |
362 |
> |
function FBEncodeTime(Hour, Minute, Second, DeciMillisecond: cardinal): TDateTime; |
363 |
> |
function FBFormatDateTime(fmt: AnsiString; aDateTime: TDateTime): AnsiString; |
364 |
> |
function FormatTimeZoneOffset(EffectiveTimeOffsetMins: integer): AnsiString; |
365 |
> |
function DecodeTimeZoneOffset(TZOffset: AnsiString; var dstOffset: integer): boolean; |
366 |
> |
|
367 |
> |
13. IDPB, ITPB and ISPB: new interface method |
368 |
> |
function AddByTypeName(ParamTypeName: AnsiString): IDPBItem/ITPBItem/ISPBItem; |
369 |
> |
This is used to add a parameter block item by the string equivalent of its |
370 |
> |
symbolic type name. e.g. DPB.AddByTypeName('isc_dpb_user_name').AsString := '...' |
371 |
> |
|
372 |
> |
14. IDPBItem/ITPBItem/ISPBItem: new interface method: |
373 |
> |
function getParamTypeName: AnsiString; |
374 |
> |
|
375 |
> |
15. fb_shutdown now called before unloading Firebird library. This can avoid a |
376 |
> |
SIGEVENT error when a programme using the embeded server is unloaded. |
377 |
> |
|
378 |
> |
FBINTF Change Log version (1.1-6 Build 12237) Tue, 21 Jul 2020 08:54:21 +0100 |
379 |
> |
|
380 |
> |
1. GetImplementationVersion now correctly returns '3.0' for Firebird 3 API |
381 |
> |
with a Firebrid 3 client library. |
382 |
> |
|
383 |
> |
2. Linux Only: FIREBIRD environment variable is now checked when loading the client library. |
384 |
> |
If a client library path is not explicitly provided and the FIREBIRD environment |
385 |
> |
variable is set then the directory given by this variable and any 'lib' subdirectory |
386 |
> |
are searched for the Firebird client library. Only if none is found, is the default |
387 |
> |
client library used. |
388 |
> |
|
389 |
> |
3. IUtil.FormatStatus now used to format error messages when using new API |
390 |
> |
|
391 |
> |
4. Fixed Array SDL: array_desc_scale now correctly encoded as a signed integer. |
392 |
> |
|
393 |
> |
5. SQL_TEXT handling changed. When the value of an SQL_TEXT (i.e. fixed width string) column is |
394 |
> |
returned using GetAsString and the string codepage is UTF8, the string is truncated so |
395 |
> |
that the byte length corresponds to the number of characters specified for the column. |
396 |
> |
SQL_TEXT strings are no longer automatically trimmed to remove all trailing white space. This is |
397 |
> |
correct behaviour but may affect some implementations that relied upon automatic |
398 |
> |
trimming of trailing white space. |
399 |
> |
|
400 |
> |
6. New IFirebirdAPI Calls: |
401 |
> |
function GetClientMajor: integer; |
402 |
> |
function GetClientMinor: integer; |
403 |
> |
|
404 |
> |
7. IColumnMetaData and IArrayMetaData: new method |
405 |
> |
function GetCharSetWidth: integer; |
406 |
> |
|
407 |
> |
FBINTF Change Log version (1.1-5 Build 12022) Fri, 17 Apr 2020 10:35:55 +0100 |
408 |
|
|
409 |
|
1. ISQLParams.GetHasCaseSensitiveParams added. Returns true if param names are |
410 |
|
case sensitive |
414 |
|
3. New API Calls: |
415 |
|
IColumnMetaData.GetStatement |
416 |
|
IColumnMetaData.GetTransaction |
417 |
< |
ISQLData.GetStrLength |
417 |
> |
ISQLData.GetStrDataLength |
418 |
|
IResults.GetStatement |
419 |
|
IAttachment.OpenBlob (using Blob metadata) |
420 |
|
IAttachment.OpenArray (using array metadata) |