timeouts query/connection

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
Terence
Zeos Dev Team
Zeos Dev Team
Posts: 141
Joined: 22.09.2005, 14:11
Location: Stuttgart
Contact:

timeouts query/connection

Post by Terence »

Howto Set/Get Query and Connection Timeouts in Zeos?

Tx for help.
fabian
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Hi Fabian,

Depends fully on the database. All this kind of options are db independent.
For mysql you can look in 'TZMySQLConnection.Open'. There somebody tried to implement this. I never tried. As you see, the options available in the API are not all implemented. Just compression and timeout. Whether this works or not? No idea. Getting this information is impossible as far as I know (unless you query something like "show session variables like '%timeout%'")

Ideas about a general solution?

Mark
Terence
Zeos Dev Team
Zeos Dev Team
Posts: 141
Joined: 22.09.2005, 14:11
Location: Stuttgart
Contact:

Post by Terence »

No, not really. I thought it was already implemented.
As far as no one has problems witrh timeouts i would see it as "nice2have".
fabian
Post Reply