[teiid-issues] [JBoss JIRA] Moved: (TEIID-1341) boolean=true doesn't work predictably against MySQL connector
Steven Hawkins (JIRA)
jira-events at lists.jboss.org
Tue Nov 2 23:09:01 EDT 2010
[ https://jira.jboss.org/browse/TEIID-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Hawkins moved JBEDSP-1253 to TEIID-1341:
-----------------------------------------------
Project: Teiid (was: JBoss Enterprise Data Services Platform)
Key: TEIID-1341 (was: JBEDSP-1253)
Issue Type: Quality Risk (was: Feature Request)
Affects Version/s: 6.0.0
(was: 5.5.4)
Component/s: JDBC Connector
(was: Connectors)
Fix Version/s: 7.3
(was: Future Versions)
> boolean=true doesn't work predictably against MySQL connector
> -------------------------------------------------------------
>
> Key: TEIID-1341
> URL: https://jira.jboss.org/browse/TEIID-1341
> Project: Teiid
> Issue Type: Quality Risk
> Components: JDBC Connector
> Affects Versions: 6.0.0
> Reporter: Debbie Steigner
> Fix For: 7.3
>
>
> MySQL defines false as zero and anything else as a true. So, in MySQL, writing "... where boolean_column = true ..." will usually not evaluate correctly because true is defined as one. To avoid this confusion, MMX should translate boolean_column=true to boolean_column<>false in the SqlTranslator of the MySQL Connector.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list