cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3604) Bad code in org.apache.cassandra.cql.QueryProcessor
Date Mon, 12 Dec 2011 19:35:30 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167703#comment-13167703
] 

Jonathan Ellis commented on CASSANDRA-3604:
-------------------------------------------

+1
                
> Bad code in org.apache.cassandra.cql.QueryProcessor
> ---------------------------------------------------
>
>                 Key: CASSANDRA-3604
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3604
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: all
>            Reporter: Zoltan Farkas
>            Assignee: Sylvain Lebresne
>             Fix For: 1.1
>
>         Attachments: 3604.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> line 206:
>             if (rows.get(0).key.key.equals(startKey))
>                 rows.remove(0);
> the equals will always return false because object of different types are compared

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