Firebird 2.5 statement cancelling
Firebird 2.5 statement cancelling
Hi,
Firebird 2.5 supports statement cancelling via the client API, it relies on a new function in the client library.
Does IBDac supports this function yet via the TGDSCommand.BreakExec method?
With regards,
Martijn Tonies
Upscene Productions
Firebird 2.5 supports statement cancelling via the client API, it relies on a new function in the client library.
Does IBDac supports this function yet via the TGDSCommand.BreakExec method?
With regards,
Martijn Tonies
Upscene Productions
So, that's a "no"?Dimon wrote:IBDAC executes the isc_dsql_free_statement API function on BreakExec.
Cancel Operation Function
Alex Peshkov
New fb_cancel_operation() API call, allowing cancellation of the current activity being performed by some kind
of blocking API call in the given connection.
SyntaxCode: Select all
ISC_STATUS fb_cancel_operation(ISC_STATUS* status_vector, isc_db_handle* db_handle, ISC_USHORT option);
-
- Posts: 1
- Joined: Sat 16 Oct 2010 10:19
Dimon wrote:Thank you for information. This functionality will be included in the next IBDAC build.
Code: Select all
ISC_STATUS fb_cancel_operation(ISC_STATUS* status_vector,
isc_db_handle* db_handle,
ISC_USHORT option);
-
- Posts: 4
- Joined: Wed 07 Apr 2010 20:48
- Location: maracaibo, venezuela
- Contact:
breakExec
.AndreyZ wrote:IBDAC 3.50 supports fb_cancel_operation. You can use the BreakExec method to break execution of a SQL statement on the server. For more information please read IBDAC Reference Manual.
Hi. i test this function (ver 3.5) but query still runing...
what can i do for cancel any running query?..
thanks!
When you call the BreakExec method IBDAC calls fb_cancel_operation with the fb_cancel_raise option. Please read about specifications of this operation in the README.fb_cancel_operation.txt file of the \doc directory.
Also you can cancel statement execution by deleting a record from the MON$STATEMENTS table:
Also you can cancel statement execution by deleting a record from the MON$STATEMENTS table:
Code: Select all
delete from mon$statements where mon$sql_text = :sql_text