[ 
https://issues.apache.org/jira/browse/DERBY-4464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kristian Waagan updated DERBY-4464:
-----------------------------------

     Affects Version/s: 10.3.1.4
         Fix Version/s: 10.3.2.1
    Bug behavior facts: [Wrong query result]

Set affect and fix versions.
Note that 10.3.2.1 has been deprecated, use 10.3.3.0 instead - or preferably a 
newer version.

I'm unable to reproduce in any newer version with the provided repro db.
Around 86 commits were made between 10.3.1.4 (r561794) and 10.3.2.0 (r598453). 
I haven't investigated which commit fixed the issue, and I haven't checked if 
this bug is present in 10.2.

Can the reporter confirm that the bug isn't observed with a newer Derby version?

> "select * from table where intColumn < int3 and  intColumn in  (int1, int2)" 
> always returns empty 
> --------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4464
>                 URL: https://issues.apache.org/jira/browse/DERBY-4464
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.3.1.4
>         Environment: OS: windows
> DB: 10.3.1.4 - (561794)
> JDBC Driver: Apache Derby Embedded JDBC Driver
>            Reporter: Wenjie Tu
>             Fix For: 10.3.2.1
>
>         Attachments: BirtSample.zip
>
>
> There is a "CUSTOMERS" table with an INTEGER type column "CUSTOMERNUMBER".
> Access db through Apache Derby Embedded JDBC Driver,
> "select CUSTOMERNUMBER from CUSTOMERS where CUSTOMERNUMBER in (103, 112)" 
> returns 103 and 112 two rows.
> However "select CUSTOMERNUMBER from CUSTOMERS where CUSTOMERNUMBER < 121 and 
> CUSTOMERNUMBER in (103, 112)" returns empty

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to