[
https://issues.apache.org/jira/browse/DERBY-6268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Knut Anders Hatlen updated DERBY-6268:
--------------------------------------
Attachment: derby-6268-01-a.diff
The attached patch, derby-6268-01-a.diff, adds a test case for the bug to
XplainStatisticsTest and fixes ProjectRestrictResultSet.close() along the lines
discussed in the derby-dev thread.
All regression tests ran cleanly with the patch.
> Run-time statistics not collected if query contains always false predicate
> --------------------------------------------------------------------------
>
> Key: DERBY-6268
> URL: https://issues.apache.org/jira/browse/DERBY-6268
> Project: Derby
> Issue Type: Bug
> Components: SQL
> Affects Versions: 10.6.2.1, 10.7.1.1, 10.8.3.0, 10.9.1.0, 10.10.1.1
> Reporter: Knut Anders Hatlen
> Attachments: derby-6268-01-a.diff
>
>
> Run-time statistics don't seem to be collected if the query contains a
> predicate that is known to always evaluate to false. See this thread on
> derby-dev:
> http://mail-archives.apache.org/mod_mbox/db-derby-dev/201306.mbox/%3C51BF194D.5040207%40oracle.com%3E
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira