Yayyy!

Discusions not-related to our Components

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
User avatar
aehimself
Zeos Dev Team
Zeos Dev Team
Posts: 786
Joined: 18.11.2018, 17:37
Location: Hungary

Yayyy!

Post by aehimself »

I just ventured through the latest commits when I stumbled upon this:

Zeos now supports the abortion of long running operations.
To do so, call TZConnection.AbortOperation from another thread.
This is supported on MySQL, MariaDB, Oracle, dblib (MS SQL Server, SAP Adaptive Server Enterprise), PostgreSQL, Firebird and SQLite.


I am so glad I could give something back to the community! Hope some other people will find it as useful as I did.

P.s.: no mention of ZMethodInThread? :P
Delphi 12.1, Zeos 8 from latest GIT snapshot
Using:
- MySQL server 8.0.18; libmariadb.dll 3.3.8
- Oracle server 11.2.0, 12.1.0, 19.0.0; oci.dll 21.13
- MSSQL 2012, 2019; sybdb.dll FreeTDS_2435
- SQLite 3.45.2
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1935
Joined: 17.01.2011, 14:17

Re: Yayyy!

Post by marsupilami »

aehimself wrote: 14.11.2020, 23:18 I just ventured through the latest commits when I stumbled upon this:

Zeos now supports the abortion of long running operations.
To do so, call TZConnection.AbortOperation from another thread.
This is supported on MySQL, MariaDB, Oracle, dblib (MS SQL Server, SAP Adaptive Server Enterprise), PostgreSQL, Firebird and SQLite.


I am so glad I could give something back to the community! Hope some other people will find it as useful as I did.

P.s.: no mention of ZMethodInThread? :P
I only just started writing up the release notes. They are not finished by a long shot ;)

Erm - your signature mentions you work with sqlite 8? sqlite.org only mentions a version 3.33? ;)

Regarding ZMethodInThread, I most probably will come back to you asking questions about it for the release notes.
User avatar
aehimself
Zeos Dev Team
Zeos Dev Team
Posts: 786
Joined: 18.11.2018, 17:37
Location: Hungary

Re: Yayyy!

Post by aehimself »

marsupilami wrote: 15.11.2020, 12:54Erm - your signature mentions you work with sqlite 8? sqlite.org only mentions a version 3.33? ;)
Might be a typo but I guess I was trying out unofficial builds of sqlite.dll and they handled version numbers differently...? I have no idea, but you are right; I am on 3.33 at the moment. Will correct it :)
Delphi 12.1, Zeos 8 from latest GIT snapshot
Using:
- MySQL server 8.0.18; libmariadb.dll 3.3.8
- Oracle server 11.2.0, 12.1.0, 19.0.0; oci.dll 21.13
- MSSQL 2012, 2019; sybdb.dll FreeTDS_2435
- SQLite 3.45.2
Post Reply