Correct logic error.

This commit is contained in:
Greg Burd 2017-11-03 11:41:09 -04:00
parent b777e9c051
commit a600c0bd23

View file

@ -317,7 +317,7 @@ public final class SelectOperation<E> extends AbstractFilterStreamOperation<E, S
default:
// When using non-Cassandra-standard 2i types or when using more than one
// indexed column or non-indexed columns the query must include ALLOW FILTERING.
if (prop.caseSensitiveIndex()) {
if (prop.caseSensitiveIndex() == false) {
allowFiltering = true;
} else if (prop.getIndexName() != null) {
allowFiltering |= !isFirstIndex;