[
https://issues.apache.org/jira/browse/DERBY-4968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dag H. Wanvik updated DERBY-4968:
---------------------------------
Attachment: derby-4968-1.stat
derby-4968-1.diff
Attaching a patch which lets checkCancellationFlag throw SQLState.CONN_INTERRUPT
(generated at the time the interrupt was seen so the stack trace would show
exactly when this was picked up). Possibly we should wrap it in another to show
that we are throwing in checkCancellationFlag.
> Let query stop execution if an interrupt is seen, at same time as we check
> the query timeout
> --------------------------------------------------------------------------------------------
>
> Key: DERBY-4968
> URL: https://issues.apache.org/jira/browse/DERBY-4968
> Project: Derby
> Issue Type: Improvement
> Components: Store
> Reporter: Dag H. Wanvik
> Fix For: 10.8.0.0
>
> Attachments: derby-4968-1.diff, derby-4968-1.stat
>
>
> Subtask of DERBY-4741.
> In BasicNoPutResultSetImpl#checkCancellationFlag we currently check whether a
> statement has been canceled or it timed out at certain times during query
> execution. We would like an interrupt seen during execution hitherto to also
> throw at this point. Cf the way we also stop execution of batches if a batch
> element sees an interrupt.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.