mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-2.1.0' into cassandra-2.1
This commit is contained in:
commit
5dc04e741c
|
|
@ -345,7 +345,7 @@ public class SelectStatement implements CQLStatement, MeasurableForPreparedCache
|
|||
// We should not share the slice filter amongst the commands (hence the cloneShallow), due to
|
||||
// SliceQueryFilter not being immutable due to its columnCounter used by the lastCounted() method
|
||||
// (this is fairly ugly and we should change that but that's probably not a tiny refactor to do that cleanly)
|
||||
commands.add(ReadCommand.create(keyspace(), key, columnFamily(), now, filter.cloneShallow()));
|
||||
commands.add(ReadCommand.create(keyspace(), ByteBufferUtil.clone(key), columnFamily(), now, filter.cloneShallow()));
|
||||
}
|
||||
|
||||
return commands;
|
||||
|
|
|
|||
Loading…
Reference in New Issue