cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-3787) [patch] fix bad comparison of column name against * or 1
Date Thu, 26 Jan 2012 02:47:40 GMT
[patch] fix bad comparison of column name against * or 1
--------------------------------------------------------

                 Key: CASSANDRA-3787
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3787
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.7
            Reporter: Dave Brosius
            Priority: Trivial
         Attachments: bad_column_compare.diff

code does 

(!selectClause.get(0).equals("*") && !selectClause.get(0).equals("1")))

which is a ColumnDefinition against a string 

changed to

String columnName = selectClause.get(0).toString();
if (!columnName.equals("*") && !columnName.equals("1"))

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message