You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2009/12/08 10:54:18 UTC

[jira] Closed: (DERBY-4464) "select * from table where intColumn < int3 and intColumn in (int1, int2)" always returns empty

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

Knut Anders Hatlen closed DERBY-4464.
-------------------------------------

    Resolution: Duplicate

Closing as a duplicate of DERBY-3061, which is fixed in Derby 10.3.2.1.

> "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.