[teiid-issues] [JBoss JIRA] Closed: (TEIID-1341) boolean=true doesn't work predictably against MySQL connector
Steven Hawkins (JIRA)
jira-events at lists.jboss.org
Mon Jan 10 17:32:50 EST 2011
[ https://issues.jboss.org/browse/TEIID-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Hawkins closed TEIID-1341.
---------------------------------
> boolean=true doesn't work predictably against MySQL connector
> -------------------------------------------------------------
>
> Key: TEIID-1341
> URL: https://issues.jboss.org/browse/TEIID-1341
> Project: Teiid
> Issue Type: Quality Risk
> Components: JDBC Connector
> Affects Versions: 6.0.0
> Reporter: Debbie Steigner
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list