db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4684) Correct the implicit casting of other types to BOOLEAN
Date Thu, 03 Jun 2010 16:13:02 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875175#action_12875175
] 

Rick Hillegas commented on DERBY-4684:
--------------------------------------

Committed derby-4684-01-ab-implicitCastsToBoolean.diff at subversion revision 951047.

> Correct the implicit casting of other types to BOOLEAN
> ------------------------------------------------------
>
>                 Key: DERBY-4684
>                 URL: https://issues.apache.org/jira/browse/DERBY-4684
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.6.1.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-4684-01-ab-implicitCastsToBoolean.diff
>
>
> Via a UNION query, it is possible to implicitly cast non-BOOLEAN types to BOOLEAN today.
These implicit casts do not obey the SQL Standard rules defined in part 2, section 6.12 (<cast
specification>). Derby should support the Standard rules.
> The following query shows how you can implicitly cast a non-BOOLEAN data type to BOOLEAN
today:
> select isindex from sys.sysconglomerates where conglomeratename = 'foo'
> union
> values ( 1 )

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


Mime
View raw message