Issue Details (XML | Word | Printable)

Key: CORE-2671
Type: New Feature New Feature
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Bill Oliver
Votes: 2
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Ability to cancel a statement handle

Created: 09/Oct/09 04:51 AM   Updated: 22/Jul/20 03:32 PM
Component/s: API / Client Library
Affects Version/s: None
Fix Version/s: None


 Description  « Hide
In Firebird 2.5, we introduced new API function, fb_cancel_operation().

This API call takes a database attachment handle as its parameter, and calling it will cancel all operations on that database handle.

I would like the ability to cancel just the work on a statement handle, instead of whole database attachment. This would be especially useful for ODBC drivers or applications.

A new API could be provided, fb_cancel_handle()?, or perhaps fb_cancel_operation() could be extended. The API would be very similar to the ODBC API call, SQLCancelHandle ().

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Kovalenko Dmitry added a comment - 17/Nov/13 09:57 AM
>I would like the ability to cancel just the work on a statement handle, instead of whole database attachment.

You can use the current designe of "fb_cancel_operation" for exact interrupt statement execution.

This is require some work, but this is not big problem for layer of connectivity components.

Bill Oliver added a comment - 18/Nov/13 02:56 PM
Hi Kovalenko,

I no longer require this feature. If others are happy with current design you can close this tracker.

Thanks,

-b



Alexander Peshkov added a comment - 22/Jul/20 01:04 PM
1. Author had withdrawn request many years ago.
2. We have wonderful way to cancel statement using monitoring tables.