ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/fbintf/changelog
Revision: 123
Committed: Mon Jan 22 14:22:04 2018 UTC (4 weeks, 2 days ago) by tony
File size: 6691 byte(s)
Log Message:
Fixes Merged
Line File contents
1 FBINTF Change Log version (1.1-1) Mon, 22 Jan 2018 14:21:15 +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
23 These results are cached when the connection is opened and hence do not
24 require a database lookup.
25
26 6. IAttachment: add "function GetConnectString: AnsiString;" This returns the
27 connect string used to create/connect to the database.
28
29 7. IAttachment: Create Database using SQL statement. The username and password
30 are now extracted and used to populate a DPB made available via IAttachment.getDPB.
31 It is now possible to use IAttachment disconnect/connect to reconnect to
32 a database for which the initial connection was established by a create
33 database sql statement. Available in FPC only.
34
35 8. Update Test 1 to test 5, 6 and 7 above.
36
37 9. IBUtils code tidy up.
38
39 FBINTF Change Log version (1.1-0) Sun, 07 Jan 2018 15:20:02 +0000
40
41 1. Fix issues with setting SQL Param values using SetAsString with Numeric types.
42 Scale is no longer ignored.
43
44 2. Fix issues with setting SQL Param values using SetAsString with Date values
45 not in locale format but which are recognised by Firebird. Date values that
46 cannot be converted to a string using Pascal library are now passed through
47 to Firebird as Text Strings.
48
49 3. Lookup character set name by codepage amended to ensure that CP_UTF8 returns
50 UTF8 and not UNICODE_FSS.
51
52 4. Charset ID problem. When using Firebird 3, with no default database character set
53 and a column has a non-default collation specified, an incorrect character set
54 id was being reported that could result in a 'division by zero' error when
55 used by IBX. This has now been fixed.
56
57 5. Move GetCharsetName, CharSetID2CodePage, CodePage2CharSetID, CharSetName2CharSetID,
58 CharSetWidth from IFirebirdAPI to IAttachment. This is a better data model as
59 the character sets supported can be updated on a per database basis. That is
60 it is possible to add a (Firebird) user defined character set to a database.
61
62 6. Add RegisterCharSet to IAttachment. This is used to register a user defined character
63 set supported by Firebird with the API.
64
65 7. Add missing isc_info_db_read_only to list of decoded Database Information items
66 in FBOutputBlock.pas and update test suite to include this item.
67
68 8. FB30Client: avoid always using "StartMultiple" when only a single database attachment.
69
70 9. Loading Windows fbclient.dll: when using the FIREBIRD variable to locate the client
71 library or finding it by disk location, the PATH environment variable is now also set to
72 include the FIREBIRD directory. This is to ensure that the correct dlls in the
73 firebird client library dependencies are loaded.
74
75 10. Testsuite: Ensure consistent UTF-8 output on Windows console.
76
77 11. Testsuite: Update Windows script to include FPC 3.0.4 in search path.
78
79 12. FB30Statement: Protect call to "Move" and avoid calling with a nil pointer
80
81 13. FB30Statement: A check has been added to ensure that all SQL Parameters
82 have been given a value (including NULL). Previously, failing to set the
83 value of an SQL Parameter could give rise to unpredictable results or
84 an SQLDA error.
85
86 14. FB30Statement/FB25Statement: Set SQLParam "modified" when string value set.
87
88 15. FBAttachment: Avoid string reference count error when processing an Ansistring
89 parameter in an array of const passed to IAttachment.OpenCursor, etc.
90
91 16. FBAttachment: Allow for WideString and UnicodeString parameters in an array
92 of const passed to IAttachment.OpenCursor, etc.
93
94
95 FBINTF Change Log version (1.0-2) Sat, 04 Mar 2017 14:43:56 +0000
96
97 1. Change syntax to Mode Delphi
98
99 2. Change all uses of string type to explicit AnsiString in order to ensure
100 compatibility between Delphi and FPC.
101
102 3. Various syntax changes to ensure Delphi and FPC compilation including GUIDs
103 defined for each interface.
104
105 4. Generics syntax variations for Delphi added
106
107 5. PChar replaced with PByte expect where an actual string is being referenced,
108 where PAnsiChar is used instead.
109
110 6. Review of type definitions in IBExternals to ensure Delphi compatibility
111
112 7. Testsuite updated for Delphi
113
114 FBINTF Change Log version (1.0-1) Fri, 24 Feb 2017 12:17:57 +0000
115
116 1. Limit maximum Blob segment read/write to MaxuShort. Avoids data loss with
117 large blobs and the FB3 API.
118
119 2. Update Event Handling algorithm to avoid looping due to recreation of the
120 event block.
121
122 3. Avoid invalid XSQLDA error when the only parameter is updated to null
123
124 4. Array Handling: fix problem with text arrays with character set none. When the
125 DB connection has a default character set (e.g. UTF8), an error is raised by
126 Firebird if the space allocated is not enough to allow for transliteration, even
127 though it is not required for character set none.
128
129 5. IBUtils: List of reserved words brought up-to-date
130
131 6. Add ISQL style performance statistics collection to IStatement
132
133 7. Add IFirebirdAPI.CreateDatabase variant to allow execution of user provided
134 CREATE DATABASE statement.
135
136 8. Update SQL Statement parsing to allow for Array Dimensions. That is so that the ':' in
137 an array dimension is not mistaken for a named parameter prefix.
138
139 9. Trim function no longer applied to result of GetAsString for SQL_TEXT
140 when Character set is octets. Avoids loss of non printable characters at start of string.
141
142 10. Add function GetPerfStatistics to IStatement. This returns ISQL like performance
143 statistics for the last action. Requires use of procedure IStatement.EnableStatistics
144 to enable stats gathering.
145
146 11. API Version information added as constants to IB.pas
147
148 12. BlobMetaData character set id should now be the same as that given by IColumnMetaData.GetCharSetID
149
150 13. Firebird Character set "NONE" now interpreted as codepage CP_ACP.
151
152 FBINTF Change Log version (1.0-0) Tue, 06 Dec 2016 10:33:47 +0000
153
154 1. Initial Release
155