Subject Re: [firebird-support] How can I specify a query/transaction time out ?
Author Martijn Tonies
> Thank you for your quick response. My only option is then to wait for
> the 2.1 final release and use a secondary connection to shut down the
> queries from the first one using the new mechanism?

Yes, but this isn't as easy as it sounds.

InterBase 6.5 has a "cancel query" API call that's easy to use, cause
you can do it from your own application if you have the statement
handle (and you're executing the query in a thread).

By using the monitoring tables, you would have to figure out some way
to "know" what statement is yours. I haven't looked at it yet to see if
that's possible in an easy way.

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com