1 |
< |
FBINTF Change Log version (1.1-0) tba, 00 Mar 2017 14:43:56 +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. |
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 |
|
|