mirror of https://github.com/apache/cassandra
fix error message spelling with cql select statements
patch by rvieira reviewed by dbrosius for cassandra-5647
This commit is contained in:
parent
99824496aa
commit
155afa1b7f
|
|
@ -1208,7 +1208,7 @@ public class SelectStatement implements CQLStatement
|
|||
break;
|
||||
case IN:
|
||||
if (restriction != null)
|
||||
throw new InvalidRequestException(String.format("%s cannot be restricted by more than one reation if it includes a IN", name));
|
||||
throw new InvalidRequestException(String.format("%s cannot be restricted by more than one relation if it includes a IN", name));
|
||||
restriction = new Restriction(newRel.getInValues());
|
||||
break;
|
||||
case GT:
|
||||
|
|
|
|||
Loading…
Reference in New Issue