cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eev...@apache.org
Subject svn commit: r1026726 - /cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/avro/AvroValidation.java
Date Sun, 24 Oct 2010 01:02:52 GMT
Author: eevans
Date: Sun Oct 24 01:02:52 2010
New Revision: 1026726

URL: http://svn.apache.org/viewvc?rev=1026726&view=rev
Log:
a missed s/byte[]/ByteBuffer/ substitution

Patch be eevans

Modified:
    cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/avro/AvroValidation.java

Modified: cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/avro/AvroValidation.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/avro/AvroValidation.java?rev=1026726&r1=1026725&r2=1026726&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/avro/AvroValidation.java
(original)
+++ cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/avro/AvroValidation.java
Sun Oct 24 01:02:52 2010
@@ -327,7 +327,7 @@ public class AvroValidation
         Set<ByteBuffer> indexedColumns = Table.open(keyspace).getColumnFamilyStore(columnFamily).getIndexedColumns();
         for (IndexExpression expression : index_clause.expressions)
         {
-            if (expression.op.equals(IndexOperator.EQ) && indexedColumns.contains(expression.column_name.array()))
+            if (expression.op.equals(IndexOperator.EQ) && indexedColumns.contains(expression.column_name))
                 return;
         }
         throw newInvalidRequestException("No indexed columns present in index clause with
operator EQ");



Mime
View raw message