[
https://issues.apache.org/jira/browse/DERBY-6563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14168218#comment-14168218
]
Myrna van Lunteren edited comment on DERBY-6563 at 10/11/14 3:58 PM:
---------------------------------------------------------------------
After this check-in the build in one of my environments (windows) fails and
this results in many test failures.
The build failure is like this:
---------------------------------------------------
Failed with following errors. Check details in buildZip.txt
[javac]
D:\svnnightlies\v10_10\src\opensource\java\testing\org\apache\derbyTesting\functionTests\tests\lang\CaseExpressionTest.java:472:
error: cannot find symbol
[javac] rows.add(Arrays.copyOf(row, 3));
[javac] ^
[javac] symbol: method copyOf(Object[],int)
[javac] location: class Arrays
[javac] 1 error
There are what I think are subsequent build errors:
[javac]
D:\svnnightlies\v10_10\src\opensource\java\testing\org\apache\derbyTesting\functionTests\tests\lang\LangProcedureTest.java:26:
error: cannot find symbol
[javac] import java.sql.DriverManager;
[javac] ^
[javac] symbol: class DriverManager
[javac] location: package java.sql
[javac]
D:\svnnightlies\v10_10\src\opensource\java\testing\org\apache\derbyTesting\functionTests\tests\lang\RolesTest.java:30:
error: cannot find symbol
[javac] import javax.sql.PooledConnection;
[javac] ^
[javac] symbol: class PooledConnection
[javac] location: package javax.sql
[javac]
D:\svnnightlies\v10_10\src\opensource\java\testing\org\apache\derbyTesting\functionTests\tests\lang\RolesTest.java:31:
error: cannot find symbol
[javac] import javax.sql.ConnectionPoolDataSource;
[javac] ^
[javac] symbol: class ConnectionPoolDataSource
was (Author: myrna):
After this check-in the build in one of my environments (windows) fails and
this results in many test failures.
The build failure is like this:
---------------------------------------------------
Failed with following errors. Check details in buildZip.txt
[javac]
D:\svnnightlies\v10_10\src\opensource\java\testing\org\apache\derbyTesting\functionTests\tests\lang\CaseExpressionTest.java:472:
error: cannot find symbol
[javac] rows.add(Arrays.copyOf(row, 3));
[javac] ^
[javac] symbol: method copyOf(Object[],int)
[javac] location: class Arrays
[javac] 1 error
> NOT elimination for CASE expressions is broken
> ----------------------------------------------
>
> Key: DERBY-6563
> URL: https://issues.apache.org/jira/browse/DERBY-6563
> Project: Derby
> Issue Type: Bug
> Components: SQL
> Affects Versions: 10.10.2.0
> Reporter: Knut Anders Hatlen
> Assignee: Mike Matrigali
> Fix For: 10.11.1.1
>
> Attachments: d6563-1a.diff
>
>
> NOT elimination for CASE expressions seems to be broken. Take this example:
> {noformat}
> ij> select * from sysibm.sysdummy1 where not ( case when ibmreqd = 'Y' then
> true else true end );
> IBM&
> ----
> Y
> 1 row selected
> {noformat}
> Both branches of the CASE expression evaluate to TRUE, so one would expect
> the predicate "not ( case ... )" to evaluate to FALSE, and the query should
> return an empty result.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)