[
https://issues.apache.org/jira/browse/CALCITE-612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Hyde resolved CALCITE-612.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.1.0-incubating
Fixed in
http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/469e5fc1.
Thanks for the patch!
> Update AvaticaStatement to handle cancelled queries
> ---------------------------------------------------
>
> Key: CALCITE-612
> URL: https://issues.apache.org/jira/browse/CALCITE-612
> Project: Calcite
> Issue Type: Bug
> Reporter: Parth Chandra
> Assignee: Julian Hyde
> Priority: Minor
> Fix For: 1.1.0-incubating
>
> Attachments: CALCITE-612.2.patch.diff, CALCITE-612.patch.diff
>
>
> Once the application cancels a query, the cursor corresponding to the result
> set is set back to null and any attempt to get the results results in a NPE.
> AvaticaStatement:internalExecute and AvaticaResultSet:next should check the
> state of the cursor and return false.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)