7.2-Beta testers-thread

The BETA tester's forum for ZeosLib 7.2 Report problems. Ask for help, post proposals for the new version and Zeoslib 7.2 features here. This is a forum that will be edited once the 7.2.x version goes into RC/stable!!

My personal intention for 7.2 is to speed up the internals as optimal a possible for all IDE's. Hope you can help?! Have fun with testing 7.2
miab3
Zeos Test Team
Zeos Test Team
Posts: 916
Joined: 11.05.2012, 12:32
Location: Poland

Re: 7.2-Beta testers-thread

Postby miab3 » 15.10.2017, 16:58

@ Fr0sT

Note about ZEOS 7.3.x svn 4033:
----------------------------------------

Addition:

, ZDatasetUtils, ZTokenizer, ZAbstractRODataset

to /branches/testing-7.3/src/dbc/ZDbcGenericResolver.pas

is ugly.

Causes cross unit compilation in packages.

Michal

miab3
Zeos Test Team
Zeos Test Team
Posts: 916
Joined: 11.05.2012, 12:32
Location: Poland

Re: 7.2-Beta testers-thread

Postby miab3 » 16.10.2017, 20:27

@ Fr0sT

Note about ZEOS 7.3.x svn 4039:
-------------------------------------------
In:

/branches/testing-7.3/src/dbc/ZDbcGenericResolver.pas

I suggest Remove:

, ZDatasetUtils

and Change

// M.A. !!! Fields := ExtractFields(KeyFields, [',', ';']);
Fields := TStringList.Create(); // M.A.
ExtractStrings([',', ';'], [' '], PChar(KeyFields), Fields); // M.A.
try

Michal

miab3
Zeos Test Team
Zeos Test Team
Posts: 916
Joined: 11.05.2012, 12:32
Location: Poland

Re: 7.2-Beta testers-thread

Postby miab3 » 17.10.2017, 10:13

@ Fr0sT, @EgonHugeist, @mdaems, @Jan, All

ZEOS 7.3.x svn 4041:
http://sourceforge.net/p/zeoslib/code-0/HEAD/tree/branches/testing-7.3/

compile and run on:

- Lazarus 1.8.0RC5-Win32 (Windows 10-32).
- Delphi 2007-Win32 (Windows 10-64),
- Delphi 10 Seattle-Win32/Win64 (Windows 10-64).

-------------------------------------------------------------------
WARNINGS:
[dcc32 Warning] ZDbcUtils.pas(786): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[dcc32 Warning] ZDbcInterbase6Utils.pas(589): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(593): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(593): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(596): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(596): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(596): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(596): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(967): W1057 Implicit string cast from 'RawByteString' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(1017): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(1017): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(1020): W1057 Implicit string cast from 'RawByteString' to 'string'

Michal
Last edited by miab3 on 17.10.2017, 17:21, edited 1 time in total.

Fr0sT
Junior Boarder
Junior Boarder
Posts: 43
Joined: 08.05.2014, 12:08

Re: 7.2-Beta testers-thread

Postby Fr0sT » 17.10.2017, 16:48

@miab3, cross unit compilation is fixed.
And I'll look at these warnings

miab3
Zeos Test Team
Zeos Test Team
Posts: 916
Joined: 11.05.2012, 12:32
Location: Poland

Re: 7.2-Beta testers-thread

Postby miab3 » 17.10.2017, 17:08

@ Fr0sT,
Fr0sT wrote:@miab3, cross unit compilation is fixed.

Yes, I noticed.

----------------------------------------------------------------------
Warnings and Hints from Lazarus 1.8RC5 Win32:

ZODBCToken.pas(102,29) Hint: Local variable "ReadChar" does not seem to be initialized
ZDbcInterbase6ResultSet.pas(1574,4) Warning: Label not defined "AssignResult"
ZDbcInterbase6ResultSet.pas(1508,7) Hint: Local label "AssignResult" is not used
ZDbcInterbase6Utils.pas(260,54) Hint: Parameter "Dialect" not used
ZDbcInterbase6Utils.pas(960,75) Hint: Conversion between ordinals and pointers is not portable
ZDbcInterbase6Utils.pas(966,16) Hint: Conversion between ordinals and pointers is not portable
ZDbcInterbase6Utils.pas(1178,18) Hint: Local variable "Counts" does not seem to be initialized
ZDbcInterbase6Utils.pas(248,52) Hint: Parameter "Value" not used
ZDbcInterbase6Utils.pas(248,65) Hint: Parameter "SQLType" not used
ZDbcInterbase6Utils.pas(249,13) Hint: Parameter "VariantType" not used
ZDbcMySqlUtils.pas(142,31) Hint: Parameter "bUseResult" not used
ZDbcOracleUtils.pas(256,3) Hint: Parameter "UserServerCachedStmt" not used
ZDbcOracleMetadata.pas(1349,42) Hint: Parameter "Package" not used
ZDatasetUtils.pas(1058,67) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
ZDatasetUtils.pas(1076,13) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
ZDatasetUtils.pas(1103,71) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
ZDatasetUtils.pas(1129,15) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
ZUpdateSqlEditor.pas(327,45) Warning: Conversion between ordinals and pointers is not portable
ZUpdateSqlEditor.pas(348,43) Warning: Conversion between ordinals and pointers is not portable
ZUpdateSqlEditor.pas(528,38) Hint: Conversion between ordinals and pointers is not portable
ZUpdateSqlEditor.pas(690,32) Hint: Parameter "TabName" not used
ZUpdateSqlEditor.pas(825,82) Warning: Conversion between ordinals and pointers is not portable
ZGroupedConnection.pas(107,3) Note: Local variable "Msg" is assigned but never used
ZGroupedConnection.pas(94,48) Hint: Parameter "Msg" not used


Michal

Fr0sT
Junior Boarder
Junior Boarder
Posts: 43
Joined: 08.05.2014, 12:08

Re: 7.2-Beta testers-thread

Postby Fr0sT » 18.10.2017, 08:35

Reported warnings for Delphi fixed in r3042.
Warnings for Lazarus are mostly old ones or false alarm.

miab3
Zeos Test Team
Zeos Test Team
Posts: 916
Joined: 11.05.2012, 12:32
Location: Poland

Re: 7.2-Beta testers-thread

Postby miab3 » 18.10.2017, 14:14

@ Fr0sT, @EgonHugeist, @mdaems, @Jan, All

ZEOS 7.3.x svn 4042:
http://sourceforge.net/p/zeoslib/code-0/HEAD/tree/branches/testing-7.3/

compile and run on:

- Lazarus 1.8.0RC5-Win32 (Windows 10-32).
- Delphi 2007-Win32 (Windows 10-64),
- Delphi 10 Seattle-Win32/Win64 (Windows 10-64).

Michal

miab3
Zeos Test Team
Zeos Test Team
Posts: 916
Joined: 11.05.2012, 12:32
Location: Poland

Re: 7.2-Beta testers-thread

Postby miab3 » 19.10.2017, 10:51

@ Fr0sT, @EgonHugeist, @mdaems, @Jan, All

ZEOS 7.2.x svn 4042(4036):

http://sourceforge.net/p/zeoslib/code-0/HEAD/tree/branches/testing-7.2/

compile and run on:

- Delphi 10.1 Berlin-Win32/Win64 (Windows 10-64).

-------------------------------------------------------------------
WARNINGS:

[dcc32 Warning] ZDbcInterbase6Utils.pas(552): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(556): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(556): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(559): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(559): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(559): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(559): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'

Michal

miab3
Zeos Test Team
Zeos Test Team
Posts: 916
Joined: 11.05.2012, 12:32
Location: Poland

Re: 7.2-Beta testers-thread

Postby miab3 » 19.10.2017, 16:31

@ Fr0sT, @EgonHugeist, @mdaems, @Jan, All

ZEOS 7.2.x svn 4045:
http://sourceforge.net/p/zeoslib/code-0/HEAD/tree/branches/testing-7.2/

compile and run on:

- Delphi 10.1 Berlin-Win32/Win64 (Windows 10-64).

ZEOS 7.3.x svn 4043:
http://sourceforge.net/p/zeoslib/code-0/HEAD/tree/branches/testing-7.3/

compile and run on:

- Lazarus 1.8.0RC5-Win32 (Windows 10-32),
- Delphi 2007-Win32 (Windows 10-64),
- Delphi 10 Seattle-Win32/Win64 (Windows 10-64).

Michal

miab3
Zeos Test Team
Zeos Test Team
Posts: 916
Joined: 11.05.2012, 12:32
Location: Poland

Re: 7.2-Beta testers-thread

Postby miab3 » 19.10.2017, 17:02

@ Fr0sT

Hi,
Where are added in 7.3.x svn 4044
http://sourceforge.net/p/zeoslib/code-0/HEAD/tree/branches/testing-7.3/
units:
"added - core/ZConnProperties (most common connection props) and dbc/ZDbcProperties (dataset and driver-specific properties)"
?!?!

Michal

Fr0sT
Junior Boarder
Junior Boarder
Posts: 43
Joined: 08.05.2014, 12:08

Re: 7.2-Beta testers-thread

Postby Fr0sT » 20.10.2017, 09:10

Hi Michal,
damn that SVN... It requires new files to be manually added. Fixed in r4046

miab3
Zeos Test Team
Zeos Test Team
Posts: 916
Joined: 11.05.2012, 12:32
Location: Poland

Re: 7.2-Beta testers-thread

Postby miab3 » 23.10.2017, 11:13

@ Fr0sT
Hi,

There is a problem in ZEOS 7.2.x svn 4046(Lazarus 1.8RC5 Win32) in ZDbcAdoStatement.pas line 152 .
is:
{$IFDEF FAST_MOVE}, ZFastCode{$ENDIF};

should be:
{.$IFDEF FAST_MOVE}, ZFastCode{.$ENDIF};

Restore the ZFastCode!

=========================================================================
Additionally:
WARNINGS (Delphi 10 Settle Win32)

[dcc32 Warning] ZDbcDbLibUtils.pas(338): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcMySqlMetadata.pas(1271): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcPostgreSqlUtils.pas(752): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcSqLite.pas(337): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'

Michal

Fr0sT
Junior Boarder
Junior Boarder
Posts: 43
Joined: 08.05.2014, 12:08

Re: 7.2-Beta testers-thread

Postby Fr0sT » 24.10.2017, 08:30

Thanks, should be fixed in 4047

miab3
Zeos Test Team
Zeos Test Team
Posts: 916
Joined: 11.05.2012, 12:32
Location: Poland

Re: 7.2-Beta testers-thread

Postby miab3 » 24.10.2017, 10:51

@ Fr0sT, @EgonHugeist, @mdaems, @Jan, All

ZEOS 7.3.x svn 4047:
http://sourceforge.net/p/zeoslib/code-0/HEAD/tree/branches/testing-7.3/

compile and run on:

- Lazarus 1.8.0RC5-Win32 (Windows 10-32),
- Delphi 2007-Win32 (Windows 10-64),
- Delphi 10 Seattle-Win32/Win64 (Windows 10-64).

Michal

miab3
Zeos Test Team
Zeos Test Team
Posts: 916
Joined: 11.05.2012, 12:32
Location: Poland

Re: 7.2-Beta testers-thread

Postby miab3 » 28.10.2017, 16:44

@ Fr0sT, @EgonHugeist, @mdaems, @Jan, All

ZEOS 7.2.x svn 4052:
http://sourceforge.net/p/zeoslib/code-0/HEAD/tree/branches/testing-7.2/

compile and run on:

- Delphi 10.1 Berlin-Win32/Win64 (Windows 7-64).

===============================================

ZEOS 7.3.x svn 4051(4052):
http://sourceforge.net/p/zeoslib/code-0/HEAD/tree/branches/testing-7.3/

compile and run on:

- Lazarus 1.8.0RC5-Win32 (Windows 10-32),
- Delphi 2007-Win32 (Windows 10-64),
- Delphi 10 Seattle-Win32/Win64 (Windows 10-64).

Michal


Return to “ZeosLib 7.2 Betatest Forum”

Who is online

Users browsing this forum: No registered users and 1 guest