You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Zoltan Farkas (Commented) (JIRA)" <ji...@apache.org> on 2011/12/10 02:28:40 UTC
[jira] [Commented] (CASSANDRA-3604) Bad code in
org.apache.cassandra.cql.QueryProcessor
[ https://issues.apache.org/jira/browse/CASSANDRA-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13166734#comment-13166734 ]
Zoltan Farkas commented on CASSANDRA-3604:
------------------------------------------
similar issue also on line:214:
if (rows.get(lastIndex).key.key.equals(finishKey))
rows.remove(lastIndex);
> 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.0.5
> Environment: all
> Reporter: Zoltan Farkas
> 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