Changes
Changes
Table of Contents
1. Changes in Release 7.0.1 - alpha (NOT RELEASED YET) ............................................................ 1
2. Changes in Release 7.0.0 - alpha (30.12.2009) ............................................................................. 2
3. Changes in Release 6.6.7 - stable (NOT RELEASED YET) ........................................................... 3
4. Changes in Release 6.6.6 - stable (30.12.2009) ............................................................................ 4
5. Changes in Release 6.6.5 - stable (25.05.2009) ............................................................................ 5
6. Changes in Release 6.6.4 - stable (01.11.2008) ............................................................................ 6
7. Changes in Release 6.6.3 - stable (08.08.2008) ............................................................................ 7
8. Changes in Release 6.6.2 - rc (12.12.2007) ................................................................................. 8
9. Changes in Release 6.6.1 - beta (25.02.2007) .............................................................................. 11
10. Changes in Release 6.6.0 - beta (20.10.2006) ............................................................................. 11
11. Changes in Release 6.5 .......................................................................................................... 14
12. Changes in Release 6.1 .......................................................................................................... 15
13. Changes in Release 6.0 .......................................................................................................... 18
1
ZeosDBO Change Notes
2
ZeosDBO Change Notes
connect strings.
[IB/FB] Added support for milliseconds (http://zeos.firmos.at/viewtopic.php?t=2354)
[Oracle] Connections are now made using the OCIEnvNlsCreate method instead of OCIEnvInit and use
property 'codepage=[UTF8,0..max Word value]' (http://zeos.firmos.at/viewtopic.php?t=2172)
[COMMON] Renamed IZObject.Hash to IZObject.GetHashCode after the new Delphi 2009 version
(http://zeos.firmos.at/viewtopic.php?t=2131)
[COMMON] Default strings to TWideString fields on Delphi 2009
(http://zeos.firmos.at/viewtopic.php?t=2119)
[COMMON] Added BCB 2009 packages.
[COMMON] Added Delphi 2009 to the supported compilers. Big thanks to gto and mariuszekpl for this
work!!
[COMMON] Added support for DefaultExpression TField property (#0000146
[http://zeosbugs.firmos.at/view.php?id=146])
[COMMON] (Delphi only issue) Added a test to avoid opening a dataset when Compo-
nentState=csDestroying
[Mysql] Implemented reuse of prepared statements for mysql
[Common] Added Prepared property and Prepare/Unprepare methods to TZAbstractRODataset
[IB/FB] ZDbcInterbase6Utils.AffectedRows now also returns a value for select statements
(http://zeos.firmos.at/viewtopic.php?t=2002)
[IB/FB] Add Connection timeout parameter (http://zeos.firmos.at/viewtopic.php?t=2002)
[POSTGRES] Limited default output of TZPostgresSQLDatabaseMetadata.GetTables to 'TABLE', 'VIEW'
and 'TEMPORARY TABLE' (http://zeos.firmos.at/viewtopic.php?t=1960)
[COMMON] Sanity check: assert that row buffer length is not exceeded at a proper time - by HeidiSQL
Team
[COMMON] Splitted IZDatabaseMetadata into IZDatabaseMetadata (retrieves info about DB content) and
IZDatabaseInfo (retrieves info about server properties) (http://zeos.firmos.at/viewtopic.php?t=1946)
[POSTGRES] PostgreSQL UTF8 Charset Patch
[MYSQL] Removed support for mysql < 4.1
[COMMON] Removed packages for Delphi 5 and 6, Kylix 2 and CBuilder 5
[COMMON] New dataset option doDontSortOnPost (http://zeos.firmos.at/viewtopic.php?t=1931)
[COMMON] Added ZQuery.RefreshCurrentRow method
[MYSQL] Added Prepared Statements support (Experimental)
[COMMON] ZQuery property ValidateUpdateCount true by default
3
ZeosDBO Change Notes
4
ZeosDBO Change Notes
5
ZeosDBO Change Notes
[COMMON] Make sure dbc connection is nil after ZConnection.Close, even when an exception occurs
(http://zeos.firmos.at/viewtopic.php?t=2275)
[COMMON] Query property ValidateUpdateCount=true/false was not added for
TZUpdateSQL(http://zeos.firmos.at/viewtopic.php?t=2249)
[IB/FB] TZInterbase6DatabaseMetadata.UncachedGetTables: Access Violation and duplicated rows
(http://zeos.firmos.at/viewtopic.php?t=2236)
[Lazarus] Removed libc from uses clauses when using fpc (http://zeos.firmos.at/viewtopic.php?t=2196)
[DELPHI] Removed conditional compilation of database dependent Tokenizers
(http://zeos.firmos.at/viewtopic.php?t=2138)
[Lazarus] Updated ZUpdateSqlEditor.lrs to be compatible with the newest Lazarus release
(http://zeos.firmos.at/viewtopic.php?t=2095)
[Oracle] Added TZOracleCachedResolver class because oracle doesn't support queries without FROM
clause (http://zeos.firmos.at/viewtopic.php?t=2080)
[COMMON] Removed some compiler warnings (http://zeos.firmos.at/viewtopic.php?t=2081)
6
ZeosDBO Change Notes
7
ZeosDBO Change Notes
8
ZeosDBO Change Notes
9
ZeosDBO Change Notes
10
ZeosDBO Change Notes
When using a TzQuery or TZTable using ado protocol and an access database with OLEDB Jet engine, the
contents of any TWideString field is unreadable (it returns symbols) and sometimes throws Out of Memory
error.
#0000016: Integer field treated as Largeint
#0000003: Field confusion in GetColumnInfo
#0000021: ClientVersion and ServerVersion properties fail on closed connection
When calling ClientVersion and ServerVersion on a closed mysql connection they refer to an unassigned
object.
#0000023: Problem using WideStrings and ADO protocol when chaging any WideString Field Data, same
nature as Issue #0000010
When using a TzQuery or TZTable using ado protocol and an access database with OLEDB Jet engine,
when changing the the contents of any TWideString field, the values is unreadable (it returns symbols) and
sometimes throws Out of Memory error.
EOutofMemory with Delphi 2006 + Firebird (http://zeos.firmos.at/viewtopic.php?t=972)
Zeos 6.6-Beta: func GetTableNames() / PingServer (http://zeos.firmos.at/viewtopic.php?t=992)
Race happens? (http://zeos.firmos.at/viewtopic.php?t=974)
MySQL and FLOAT fields (precision) (http://zeos.firmos.at/viewtopic.php?t=930)
Memory Leak - ZeosLib 6.5.1, MySQL 4.1, Lazarus (http://zeos.firmos.at/viewtopic.php?t=812)
Bug in ZAbstractRODataset (6.6.0 beta version) (http://zeos.firmos.at/viewtopic.php?t=898)
Bug in ZDbcPostgreSqlMetadata.pas(6.6 beta) (http://zeos.firmos.at/viewtopic.php?t=839)
Postgres Blob field bug (http://zeos.firmos.at/viewtopic.php?t=931)
Do not work sorterfields (http://zeos.firmos.at/viewtopic.php?t=920)
Fix for TZInterbase6DatabaseMetadata.GetSequence (http://zeos.firmos.at/viewtopic.php?t=864)
ERangeError after FormCreate (http://zeos.firmos.at/viewtopic.php?t=902)
Delphi5 and MySql5 (http://zeos.firmos.at/viewtopic.php?t=886)
Zquery and Ztable not accept numeric database (http://zeos.firmos.at/viewtopic.php?t=882)
BCB6 ZDbc.bpk (http://zeos.firmos.at/viewtopic.php?t=854)
Fix for Bug in ZInterbase6Sequence.GetNextValue (http://zeos.firmos.at/viewtopic.php?t=856)
ztable problem : editing and TableName (http://zeos.firmos.at/viewtopic.php?t=748)
MySQL: Cannot update this query type(backticks) (http://zeos.firmos.at/viewtopic.php?t=552)
InterBase/FireBird BLOB handling error (http://zeos.firmos.at/viewtopic.php?t=855)
Duplicate messages in portuguese language (ttp://zeos.firmos.at/viewtopic.php?t=848)
11
ZeosDBO Change Notes
12
ZeosDBO Change Notes
13
ZeosDBO Change Notes
14
ZeosDBO Change Notes
15
ZeosDBO Change Notes
driver.
/SM/ Fixed Bug#886914 Incorrect updating CHAR not null and empty fields in Interbase/Firebird driver.
/SM/ Fixed Bug#886854 Problem with field types for system fields in Firebirb 1.5 RC8 type
/SM/ Fixed Bug#882232 Invalid Color property value in ZUpdateSqlEditor.dfm
/SM/ Fixed Bug#865299 Interbase 5.5 wrong metadata reading
/SS/ Fixed a memory leak in TZSQLProcessor component. Thanks to Martin Fibiger.
/SS/ Fixed Bug#894367 Incorrect parsing queries with non-unique field column names.
/SS/ Fixed Bug#910804 Wrong processing regular expressions with '*abc' style patterns.
16
ZeosDBO Change Notes
supported.
/SS/ Replaced Borland Variants with custom implementation. It solved many problems with data type con-
vertions and Int64 support in filter expression, master/detail links, locate and many other places.
/SS/ Optimized Locate and Lookup methods in TDataset. The speed was increased up to 6 times.
/SS/ Added UpdateMode and WhereMode properties to TDataset. UpdateMode has two options: umUp-
dateChanged to post to database only updated fields and umUpdateAll to post all
fields.TZWhereMode controls WHERE clause in posted DML statements. wmWhereKeyOnly includes in
WHERE only key fields if they exist, wmWhereAll includes all fields.
/SS/ Added Options property to TDataset. Now it supports two options doOemTranslate to turn on
Ansi to OEM translation in visual controls and doCalcDefaults to turn on/off calculation of column de-
fault values defined in database.
/SS/ Fixed Bug#816846. PostgreSQL text columns are included now into WHERE clause in autogenerated
DML statements. Before they were skipped and it caused problems for tables with text columns where pri-
mary key was not defined.
/SS/ Fixed Bug#816850 Changing blobs overwrite old values.
/SS/ Added SortedFields property to TDataset. The format of the SortedFields value should be:<Field
Name> [ASC | DESC] [,...]
/SS/ Fixed Bug#810249. Added workaround to prevent objects self-destruction in contructors. The bug exist
in Delphi 4 and C++ Builder 4 compilers. It decrements reference counter and destroys object if in construc-
tor some interface method is called.
/SS/ Excluded ADO driver from Delphi 4 and BCB 4 packages due to lack of support OLE data types in that
compilers.
/SS/ Fixed Bug#824792. Fixed Interface not supported error in TZMonitor in C++ Builder 5 compiler.
/SM/ Fixed Bugs #824948 and #824875 Firebird 1.5 - Statement not allowed.
/SM/ Fixed Bug#815955 Wrong mapping numeric(15) to TIntegerField
/SM/ Fixed Bug#804112 AutoCommit Interbase/Firebird transaction problem
/SM/ Fixed Bug#789879 Firebird: Float->Numeric
/SM/ Fixed Bug#825029 examples - Controls conflict names with Delphi7
/DD/ Fixed Bug#817612 C++ Builder hpp generation bug
/SS/ Added support for PostgreSQL domains (user defined types). As a drawback all domain strings types
have length 255 characters.
/SM/ Fixed Bug#815861 Incorrect parsing of the Version# for PostgreSql7.x betas.
/SS/ Fixed Bug#831776 TZLoggingEvent is not found.
/SS/ Fixed Bug#831559 Usage SQL keywords in column names.
/JF/ Feature Requests#831925. Added several connection parameters to MS SQL: application name,
workstation name and few more.
/JF/ Fixed Bug#826621. Added reconnection in the case of network problems to MS SQL driver.
/JF/ Fixed Bug#817400 Schema support for TZTable
/SS/ Fixed Bug#832467 Filter expression does not process string constants contained single quote symbols
inside.
/SS/ Fixed Bug#830804 Changing dataset fields order in runtime (dragging column in DBGrid for exam-
ple) causes AV.
/SS/ Fixed Bug#833197 Refresh problem with filtered data.
/JF/ Fixed issues related to ADO in Delphi 4 and C++ Builder 4 compilers.
/SS/ Added STRICT_DLL_LOADING definition into /src/Zeos.inc to prevent loading of lib-
mysql.dll and libpq.dll libraries by default. If was done because of constant user problems with un-
supported dlls. To enforce loading default libraries you should comment the definition and recompile the
components.
/SS/ Added optimization for switching transaction modes in MySQL driver.
/JF/ Added support of SQLHourGlass cursor in the component.
/SS/ Fixed Bug#834798 Locate with [loCaseInsensitive] parameters does not work.
/SS/ Fixed Bug#839540 Logical operations don't work properly in filter expression.
17
ZeosDBO Change Notes
18
ZeosDBO Change Notes
19
ZeosDBO Change Notes
where clauses.
/SS/ Completely rewritten SQL parsers because of peformance reasons.
/SS/ Fixed Bug#739514 with national string convertion for postgresql.
/JF/ Fixed Bug#728955 multiple results returned
/JF/ Fixed datatype handling in metadata getColumn to match the modifications via Seroukhov
/SS/ Fixed Bug#746225 with updating empty Memo fields.
/SM/ Fixed Interbase metadata GetPrimaryKeys, GetProcedures, GetProcedureColumns
/SS/ Fixed Bug#739448 with duplicated column names. Now if query returns columns: 'fld','fld','fld', result
set will contain display labels 'fld','fld_1','fld_2'
/SS/ Fixed Bug#733236 with time fields convertion in TDataset.Locate.
/SS/ Optimized code, added DISABLE_CHECKING compiler definition into Zeos.inc file. According per-
formance tests this definition gives about 10% speedup.
/SM/ Fixed problem with WasNull in fetch processing in InterbaseResultSet.
/SM/ Added example - controls.
/SS/ Fixed Bug#725053 with empty lookup fields
/SS/ Fixed Bug#739707: Variant convertion error in IZPreparedStatement.SetBlob
/JF/ Fixed Numeric scale errors in sybase, was caused by usage of float type instead of double
/JF/ Added a workaround for a bug? in mssql dblib interface. All text like '\'#13 was replaced to just #13. I
just double the backslash in this case.
20
ZeosDBO Change Notes
21
ZeosDBO Change Notes
22