Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to cancel a statement handle [CORE2671] #1136

Closed
firebird-automations opened this issue Oct 9, 2009 · 9 comments
Closed

Ability to cancel a statement handle [CORE2671] #1136

firebird-automations opened this issue Oct 9, 2009 · 9 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Bill Oliver (verbguy)

Votes: 2

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 ().

@firebird-automations
Copy link
Collaborator Author

Modified by: Bill Oliver (verbguy)

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Fix Version: 3.0 Alpha 1 [ 10331 ]

Version: 3.0.0 [ 10048 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Fix Version: 3.0 Beta 1 [ 10332 ]

Fix Version: 3.0 Alpha 1 [ 10331 ] =>

@firebird-automations
Copy link
Collaborator Author

Commented by: @ibprovider

>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.

@firebird-automations
Copy link
Collaborator Author

Commented by: Bill Oliver (verbguy)

Hi Kovalenko,

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

Thanks,

-b

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Fix Version: 3.0 Beta 1 [ 10332 ] =>

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

1. Author had withdrawn request many years ago.
2. We have wonderful way to cancel statement using monitoring tables.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Won't Fix [ 2 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants