1 |
< |
FBINTF Change Log version (1.0-1) Fri, 24 Feb 2017 12:17:57 +0000 |
1 |
> |
FBINTF Change Log version (1.1-4) Sat, 08 Dec 2018 11:11:20 +0000 |
2 |
> |
|
3 |
> |
1. Fix a problem with the SQL parameter parser that failed to recognise parameters |
4 |
> |
where the second character of the parameter name is a numeric. |
5 |
> |
|
6 |
> |
|
7 |
> |
FBINTF Change Log version (1.1-3) Wed, 05 Dec 2018 14:28:10 +0000 |
8 |
> |
|
9 |
> |
1. DARWIN only syntax error: fix missing semi-colon in TFBClientAPI.LoadIBLibrary |
10 |
> |
|
11 |
> |
2. Restrict IsMultiThread check to Unix only for compatibility with |
12 |
> |
https://bugs.freepascal.org/view.php?id=30535 |
13 |
> |
|
14 |
> |
3. New SQL Tokeniser added to IBUtils. This is used to pre-process SQL with |
15 |
> |
named parameters and is intended to avoid problems with (e.g.) Execute Block |
16 |
> |
and processing internal parameters as statement parameters. |
17 |
> |
|
18 |
> |
4. New interface IFirebirdLibrary provides access to the underlying firebird DLL |
19 |
> |
or shared object. Available via a new member (GetFBLibrary) of IFirebirdAPI. |
20 |
> |
|
21 |
> |
5. New function added to IB.pas |
22 |
> |
|
23 |
> |
function LoadFBLibrary(aLibPathName: string): IFirebirdLibrary |
24 |
> |
|
25 |
> |
This allows a Firebird Library to be loaded from an explicit path. use the |
26 |
> |
IFirebirdLibrary.GetFirebirdAPI member function to get the Firebird API using |
27 |
> |
the library. It is possible to load Firebird libraries from different locations |
28 |
> |
simultaneously, each with a distinct IFirebirdAPI. |
29 |
> |
|
30 |
> |
FBINTF Change Log version (1.1-2) Mon, 16 Apr 2018 09:30:32 +0100 |
31 |
> |
|
32 |
> |
1. Firebird.pas: {$OBJECTCHECKS OFF} added to file to avoid runtime error when |
33 |
> |
program compiled with -CR command line switch. |
34 |
> |
|
35 |
> |
2. IServiceManager additions (informational): |
36 |
> |
function getProtocol: TProtocol; |
37 |
> |
function getPortNo: AnsiString; |
38 |
> |
|
39 |
> |
3. IServiceManager improved error handling. Interfaces changed: |
40 |
> |
function Start(Request: ISRB; RaiseExceptionOnError: boolean=true): boolean; |
41 |
> |
function Query(SQPB: ISQPB; Request: ISRB; RaiseExceptionOnError: boolean=true) :IServiceQueryResults; overload; |
42 |
> |
function Query(Request: ISRB; RaiseExceptionOnError: boolean=true) :IServiceQueryResults; overload; |
43 |
> |
|
44 |
> |
4. IAttachment addition (informational) |
45 |
> |
function GetSecurityDatabase: AnsiString; |
46 |
> |
|
47 |
> |
5. IStatement: performance counters now updated after each Fetch. GetPerfStatistics |
48 |
> |
thus now returns accumulated stats for a select statement from opening a cursor |
49 |
> |
up to the last fetch. |
50 |
> |
|
51 |
> |
6. DARWIN: uloadlibrary.inc bug fix. Many thanks to Luigi Naimi for correcting |
52 |
> |
the problem. |
53 |
> |
|
54 |
> |
7. Type change: "TPerfCounters = array[TPerfStats] of Int64". Note "Int64" |
55 |
> |
replaces deprecated "comp" type. |
56 |
> |
|
57 |
> |
10. Testsuite Test10 updated to include thread synchronisation for event reporting. |
58 |
> |
|
59 |
> |
11. URL Connection Strings: inet4 and inet6 now recognised. |
60 |
> |
|
61 |
> |
12. IBUtils: Parse and Make Connect String now recognise URL style loopback syntax. |
62 |
> |
|
63 |
> |
13. IAttachment.CharSetName2CharSetID is now performed case insensitive. |
64 |
> |
|
65 |
> |
|
66 |
> |
FBINTF Change Log version (1.1-1) Tue, 27 Feb 2018 16:51:16 +0000 |
67 |
> |
|
68 |
> |
1. IBUtils.QuoteIdentifierIfNeeded: Add check for space character. |
69 |
> |
|
70 |
> |
2. IAttachment: add two new methods |
71 |
> |
function HasDefaultCharSet: boolean; |
72 |
> |
function GetDefaultCharSetID: integer; |
73 |
> |
|
74 |
> |
These return, respectively, true if a connection default character set was |
75 |
> |
specified and the character set id of the connection default character set. |
76 |
> |
The DefaultCharSetID is cached when the connection is opened and hence does not |
77 |
> |
require a database lookup. |
78 |
> |
|
79 |
> |
3. Avoid exception when a text blob is a stored procedure parameter. |
80 |
> |
|
81 |
> |
4. Update test suite to include a test for a stored proc returning a text blob. |
82 |
> |
|
83 |
> |
5. IAttachment: add |
84 |
> |
function GetRemoteProtocol: AnsiString; |
85 |
> |
function GetODSMajorVersion: integer; |
86 |
> |
function GetODSMinorVersion: integer; |
87 |
> |
function GetAuthenticationMethod: AnsiString; |
88 |
> |
|
89 |
> |
These results are cached when the connection is opened and hence do not |
90 |
> |
require a database lookup. |
91 |
> |
|
92 |
> |
6. IAttachment: add "function GetConnectString: AnsiString;" This returns the |
93 |
> |
connect string used to create/connect to the database. |
94 |
> |
|
95 |
> |
7. IAttachment: Create Database using SQL statement. The username and password |
96 |
> |
are now extracted and used to populate a DPB made available via IAttachment.getDPB. |
97 |
> |
It is now possible to use IAttachment disconnect/connect to reconnect to |
98 |
> |
a database for which the initial connection was established by a create |
99 |
> |
database sql statement. Available in FPC only. |
100 |
> |
|
101 |
> |
8. Update Test 1 to test 5, 6 and 7 above. |
102 |
> |
|
103 |
> |
9. IBUtils code tidy up. |
104 |
> |
|
105 |
> |
10. Parameter Block interfaces "find" method. As documented, this should have |
106 |
> |
returned a nil interface when the item could not be found. Instead, an empty |
107 |
> |
interface item was returned. "Find" now works as documented and will return |
108 |
> |
a nil interface if the item cannot be found. |
109 |
> |
|
110 |
> |
11. DBInformation: support added for isc_info_active_tran_count and isc_info_creation_date. |
111 |
> |
|
112 |
> |
12. DBInformation: New interfaces: IDIRB and IDIRBItem added to support DB Information |
113 |
> |
requests with additional parameters. This is to enable support for fb_info_page_contents |
114 |
> |
(return of page contents). Response to fb_info_page_contents returned as |
115 |
> |
a string with code page CP_NONE. |
116 |
> |
|
117 |
> |
13. DBInformation: Support for fb_info_pages_used and fb_info_pages_free added, plus |
118 |
> |
test suite updated. |
119 |
> |
|
120 |
> |
14. DBInformation: Support for fb_info_crypt_key (Firebird 3.0.3 onwards) added as |
121 |
> |
a string type, and fb_info_conn_flags (Firebird 3.0.3 onwards) added as an integer type. |
122 |
> |
|
123 |
> |
15. Service Manager: List of protocols supported expanded to include inet, wnet and xnet. |
124 |
> |
An overloaded version of IIFirebirdAPI.GetServiceManager also allows a non |
125 |
> |
default connection port to be specified. |
126 |
> |
|
127 |
> |
FBINTF Change Log version (1.1-0) Sun, 07 Jan 2018 15:20:02 +0000 |
128 |
> |
|
129 |
> |
1. Fix issues with setting SQL Param values using SetAsString with Numeric types. |
130 |
> |
Scale is no longer ignored. |
131 |
> |
|
132 |
> |
2. Fix issues with setting SQL Param values using SetAsString with Date values |
133 |
> |
not in locale format but which are recognised by Firebird. Date values that |
134 |
> |
cannot be converted to a string using Pascal library are now passed through |
135 |
> |
to Firebird as Text Strings. |
136 |
> |
|
137 |
> |
3. Lookup character set name by codepage amended to ensure that CP_UTF8 returns |
138 |
> |
UTF8 and not UNICODE_FSS. |
139 |
> |
|
140 |
> |
4. Charset ID problem. When using Firebird 3, with no default database character set |
141 |
> |
and a column has a non-default collation specified, an incorrect character set |
142 |
> |
id was being reported that could result in a 'division by zero' error when |
143 |
> |
used by IBX. This has now been fixed. |
144 |
> |
|
145 |
> |
5. Move GetCharsetName, CharSetID2CodePage, CodePage2CharSetID, CharSetName2CharSetID, |
146 |
> |
CharSetWidth from IFirebirdAPI to IAttachment. This is a better data model as |
147 |
> |
the character sets supported can be updated on a per database basis. That is |
148 |
> |
it is possible to add a (Firebird) user defined character set to a database. |
149 |
> |
|
150 |
> |
6. Add RegisterCharSet to IAttachment. This is used to register a user defined character |
151 |
> |
set supported by Firebird with the API. |
152 |
> |
|
153 |
> |
7. Add missing isc_info_db_read_only to list of decoded Database Information items |
154 |
> |
in FBOutputBlock.pas and update test suite to include this item. |
155 |
> |
|
156 |
> |
8. FB30Client: avoid always using "StartMultiple" when only a single database attachment. |
157 |
> |
|
158 |
> |
9. Loading Windows fbclient.dll: when using the FIREBIRD variable to locate the client |
159 |
> |
library or finding it by disk location, the PATH environment variable is now also set to |
160 |
> |
include the FIREBIRD directory. This is to ensure that the correct dlls in the |
161 |
> |
firebird client library dependencies are loaded. |
162 |
> |
|
163 |
> |
10. Testsuite: Ensure consistent UTF-8 output on Windows console. |
164 |
> |
|
165 |
> |
11. Testsuite: Update Windows script to include FPC 3.0.4 in search path. |
166 |
> |
|
167 |
> |
12. FB30Statement: Protect call to "Move" and avoid calling with a nil pointer |
168 |
> |
|
169 |
> |
13. FB30Statement: A check has been added to ensure that all SQL Parameters |
170 |
> |
have been given a value (including NULL). Previously, failing to set the |
171 |
> |
value of an SQL Parameter could give rise to unpredictable results or |
172 |
> |
an SQLDA error. |
173 |
> |
|
174 |
> |
14. FB30Statement/FB25Statement: Set SQLParam "modified" when string value set. |
175 |
> |
|
176 |
> |
15. FBAttachment: Avoid string reference count error when processing an Ansistring |
177 |
> |
parameter in an array of const passed to IAttachment.OpenCursor, etc. |
178 |
> |
|
179 |
> |
16. FBAttachment: Allow for WideString and UnicodeString parameters in an array |
180 |
> |
of const passed to IAttachment.OpenCursor, etc. |
181 |
> |
|
182 |
> |
|
183 |
> |
FBINTF Change Log version (1.0-2) Sat, 04 Mar 2017 14:43:56 +0000 |
184 |
> |
|
185 |
> |
1. Change syntax to Mode Delphi |
186 |
> |
|
187 |
> |
2. Change all uses of string type to explicit AnsiString in order to ensure |
188 |
> |
compatibility between Delphi and FPC. |
189 |
> |
|
190 |
> |
3. Various syntax changes to ensure Delphi and FPC compilation including GUIDs |
191 |
> |
defined for each interface. |
192 |
> |
|
193 |
> |
4. Generics syntax variations for Delphi added |
194 |
> |
|
195 |
> |
5. PChar replaced with PByte expect where an actual string is being referenced, |
196 |
> |
where PAnsiChar is used instead. |
197 |
> |
|
198 |
> |
6. Review of type definitions in IBExternals to ensure Delphi compatibility |
199 |
> |
|
200 |
> |
7. Testsuite updated for Delphi |
201 |
> |
|
202 |
> |
FBINTF Change Log version (1.0-1) Fri, 24 Feb 2017 12:17:57 +0000 |
203 |
|
|
204 |
|
1. Limit maximum Blob segment read/write to MaxuShort. Avoids data loss with |
205 |
|
large blobs and the FB3 API. |