1 |
< |
FBINTF Change Log version (1.0-3) tba, 00 Mar 2017 14:43:56 +0000 |
1 |
> |
FBINTF Change Log version (1.1-1) Sat, 24 Feb 2018 23:12:18 +0000 |
2 |
> |
|
3 |
> |
1. IBUtils.QuoteIdentifierIfNeeded: Add check for space character. |
4 |
> |
|
5 |
> |
2. IAttachment: add two new methods |
6 |
> |
function HasDefaultCharSet: boolean; |
7 |
> |
function GetDefaultCharSetID: integer; |
8 |
> |
|
9 |
> |
These return, respectively, true if a connection default character set was |
10 |
> |
specified and the character set id of the connection default character set. |
11 |
> |
The DefaultCharSetID is cached when the connection is opened and hence does not |
12 |
> |
require a database lookup. |
13 |
> |
|
14 |
> |
3. Avoid exception when a text blob is a stored procedure parameter. |
15 |
> |
|
16 |
> |
4. Update test suite to include a test for a stored proc returning a text blob. |
17 |
> |
|
18 |
> |
5. IAttachment: add |
19 |
> |
function GetRemoteProtocol: AnsiString; |
20 |
> |
function GetODSMajorVersion: integer; |
21 |
> |
function GetODSMinorVersion: integer; |
22 |
> |
function GetAuthenticationMethod: AnsiString; |
23 |
> |
|
24 |
> |
These results are cached when the connection is opened and hence do not |
25 |
> |
require a database lookup. |
26 |
> |
|
27 |
> |
6. IAttachment: add "function GetConnectString: AnsiString;" This returns the |
28 |
> |
connect string used to create/connect to the database. |
29 |
> |
|
30 |
> |
7. IAttachment: Create Database using SQL statement. The username and password |
31 |
> |
are now extracted and used to populate a DPB made available via IAttachment.getDPB. |
32 |
> |
It is now possible to use IAttachment disconnect/connect to reconnect to |
33 |
> |
a database for which the initial connection was established by a create |
34 |
> |
database sql statement. Available in FPC only. |
35 |
> |
|
36 |
> |
8. Update Test 1 to test 5, 6 and 7 above. |
37 |
> |
|
38 |
> |
9. IBUtils code tidy up. |
39 |
> |
|
40 |
> |
10. Parameter Block interfaces "find" method. As documented, this should have |
41 |
> |
returned a nil interface when the item could not be found. Instead, an empty |
42 |
> |
interface item was returned. "Find" now works as documented and will return |
43 |
> |
a nil interface if the item cannot be found. |
44 |
> |
|
45 |
> |
11. DBInformation: support added for isc_info_active_tran_count and isc_info_creation_date. |
46 |
> |
|
47 |
> |
12. DBInformation: New interfaces: IDIRB and IDIRBItem added to support DB Information |
48 |
> |
requests with additional parameters. This is to enable support for fb_info_page_contents |
49 |
> |
(return of page contents). Response to fb_info_page_contents returned as |
50 |
> |
a string with code page CP_NONE. |
51 |
> |
|
52 |
> |
13. DBInformation: Support for fb_info_pages_used and fb_info_pages_free added, plus |
53 |
> |
test suite updated. |
54 |
> |
|
55 |
> |
14. DBInformation: Support for fb_info_crypt_key (Firebird 3.0.3 onwards) added as |
56 |
> |
a string type, and fb_info_conn_flags (Firebird 3.0.3 onwards) added as an integer type. |
57 |
> |
|
58 |
> |
15. Service Manager: List of protocols supported expanded to include inet, wnet and xnet. |
59 |
> |
An overloaded version of IIFirebirdAPI.GetServiceManager also allows a non |
60 |
> |
default connection port to be specified. |
61 |
> |
|
62 |
> |
FBINTF Change Log version (1.1-0) Sun, 07 Jan 2018 15:20:02 +0000 |
63 |
|
|
64 |
|
1. Fix issues with setting SQL Param values using SetAsString with Numeric types. |
65 |
|
Scale is no longer ignored. |
69 |
|
cannot be converted to a string using Pascal library are now passed through |
70 |
|
to Firebird as Text Strings. |
71 |
|
|
72 |
+ |
3. Lookup character set name by codepage amended to ensure that CP_UTF8 returns |
73 |
+ |
UTF8 and not UNICODE_FSS. |
74 |
+ |
|
75 |
+ |
4. Charset ID problem. When using Firebird 3, with no default database character set |
76 |
+ |
and a column has a non-default collation specified, an incorrect character set |
77 |
+ |
id was being reported that could result in a 'division by zero' error when |
78 |
+ |
used by IBX. This has now been fixed. |
79 |
+ |
|
80 |
+ |
5. Move GetCharsetName, CharSetID2CodePage, CodePage2CharSetID, CharSetName2CharSetID, |
81 |
+ |
CharSetWidth from IFirebirdAPI to IAttachment. This is a better data model as |
82 |
+ |
the character sets supported can be updated on a per database basis. That is |
83 |
+ |
it is possible to add a (Firebird) user defined character set to a database. |
84 |
+ |
|
85 |
+ |
6. Add RegisterCharSet to IAttachment. This is used to register a user defined character |
86 |
+ |
set supported by Firebird with the API. |
87 |
+ |
|
88 |
+ |
7. Add missing isc_info_db_read_only to list of decoded Database Information items |
89 |
+ |
in FBOutputBlock.pas and update test suite to include this item. |
90 |
+ |
|
91 |
+ |
8. FB30Client: avoid always using "StartMultiple" when only a single database attachment. |
92 |
+ |
|
93 |
+ |
9. Loading Windows fbclient.dll: when using the FIREBIRD variable to locate the client |
94 |
+ |
library or finding it by disk location, the PATH environment variable is now also set to |
95 |
+ |
include the FIREBIRD directory. This is to ensure that the correct dlls in the |
96 |
+ |
firebird client library dependencies are loaded. |
97 |
+ |
|
98 |
+ |
10. Testsuite: Ensure consistent UTF-8 output on Windows console. |
99 |
+ |
|
100 |
+ |
11. Testsuite: Update Windows script to include FPC 3.0.4 in search path. |
101 |
+ |
|
102 |
+ |
12. FB30Statement: Protect call to "Move" and avoid calling with a nil pointer |
103 |
+ |
|
104 |
+ |
13. FB30Statement: A check has been added to ensure that all SQL Parameters |
105 |
+ |
have been given a value (including NULL). Previously, failing to set the |
106 |
+ |
value of an SQL Parameter could give rise to unpredictable results or |
107 |
+ |
an SQLDA error. |
108 |
+ |
|
109 |
+ |
14. FB30Statement/FB25Statement: Set SQLParam "modified" when string value set. |
110 |
+ |
|
111 |
+ |
15. FBAttachment: Avoid string reference count error when processing an Ansistring |
112 |
+ |
parameter in an array of const passed to IAttachment.OpenCursor, etc. |
113 |
+ |
|
114 |
+ |
16. FBAttachment: Allow for WideString and UnicodeString parameters in an array |
115 |
+ |
of const passed to IAttachment.OpenCursor, etc. |
116 |
+ |
|
117 |
+ |
|
118 |
|
FBINTF Change Log version (1.0-2) Sat, 04 Mar 2017 14:43:56 +0000 |
119 |
|
|
120 |
|
1. Change syntax to Mode Delphi |