Updated Branches: refs/heads/trunk 931be4803 -> 7b841aade
Fix exception text in SelectStatement Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/25a46eae Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/25a46eae Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/25a46eae Branch: refs/heads/trunk Commit: 25a46eae5d1f6b48a490a4e77eb4df7c81a436d9 Parents: 66bd605 Author: Aleksey Yeschenko <alek...@apache.org> Authored: Wed Jul 24 00:49:52 2013 +0300 Committer: Aleksey Yeschenko <alek...@apache.org> Committed: Wed Jul 24 00:49:52 2013 +0300 ---------------------------------------------------------------------- src/java/org/apache/cassandra/cql3/statements/SelectStatement.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/25a46eae/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java b/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java index 2a2b33a..8343d1e 100644 --- a/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java +++ b/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java @@ -1157,7 +1157,7 @@ public class SelectStatement implements CQLStatement // We don't support IN for indexed values (basically this would require supporting a form of OR) if (restriction.eqValues.size() > 1) - throw new InvalidRequestException("Cannot use IN operator on column not part of the PRIMARY KEY"); + throw new InvalidRequestException("Cannot use IN operator on column not part of the partition key"); if (indexedNames.contains(entry.getKey().name.key)) {