mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-1.2' into cassandra-2.0
This commit is contained in:
commit
975145c277
|
|
@ -66,6 +66,7 @@ Merged from 1.2:
|
|||
* raise streaming phi convict threshold level (CASSANDRA-7063)
|
||||
* reduce garbage creation in calculatePendingRanges (CASSANDRA-7191)
|
||||
* exit CQLSH with error status code if script fails (CASSANDRA-6344)
|
||||
* Fix bug with some IN queries missig results (CASSANDRA-7105)
|
||||
|
||||
|
||||
2.0.7
|
||||
|
|
|
|||
|
|
@ -862,7 +862,7 @@ public class SelectStatement implements CQLStatement, MeasurableForPreparedCache
|
|||
throw new InvalidRequestException(String.format("Invalid null clustering key part %s", name));
|
||||
ColumnNameBuilder copy = builder.copy().add(val);
|
||||
// See below for why this
|
||||
s.add((b == Bound.END && copy.remainingCount() > 0) ? copy.buildAsEndOfRange() : copy.build());
|
||||
s.add((eocBound == Bound.END && copy.remainingCount() > 0) ? copy.buildAsEndOfRange() : copy.build());
|
||||
}
|
||||
return new ArrayList<>(s);
|
||||
}
|
||||
|
|
@ -879,7 +879,7 @@ public class SelectStatement implements CQLStatement, MeasurableForPreparedCache
|
|||
// with 2ndary index is done, and with the the partition provided with an EQ, we'll end up here, and in that
|
||||
// case using the eoc would be bad, since for the random partitioner we have no guarantee that
|
||||
// builder.buildAsEndOfRange() will sort after builder.build() (see #5240).
|
||||
return Collections.singletonList((bound == Bound.END && builder.remainingCount() > 0) ? builder.buildAsEndOfRange() : builder.build());
|
||||
return Collections.singletonList((eocBound == Bound.END && builder.remainingCount() > 0) ? builder.buildAsEndOfRange() : builder.build());
|
||||
}
|
||||
|
||||
private List<ByteBuffer> buildMultiColumnSliceBound(Bound bound,
|
||||
|
|
|
|||
Loading…
Reference in New Issue