Fix typo
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/1ac60198 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/1ac60198 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/1ac60198 Branch: refs/heads/trunk Commit: 1ac601980382516419bfe45b01ce1b8eccf4d9ce Parents: 0ffa5c2 Author: Sylvain Lebresne <sylv...@datastax.com> Authored: Mon Nov 18 17:30:55 2013 +0100 Committer: Sylvain Lebresne <sylv...@datastax.com> Committed: Mon Nov 18 17:30:55 2013 +0100 ---------------------------------------------------------------------- src/java/org/apache/cassandra/thrift/CassandraServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/1ac60198/src/java/org/apache/cassandra/thrift/CassandraServer.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/thrift/CassandraServer.java b/src/java/org/apache/cassandra/thrift/CassandraServer.java index 5b9fbfd..883ab5a 100644 --- a/src/java/org/apache/cassandra/thrift/CassandraServer.java +++ b/src/java/org/apache/cassandra/thrift/CassandraServer.java @@ -1407,7 +1407,7 @@ public class CassandraServer implements Cassandra.Iface if (oldCfm == null) throw new InvalidRequestException("Could not find column family definition to modify."); - if (!oldCfm.isThriftIncompatible()) + if (oldCfm.isThriftIncompatible()) throw new InvalidRequestException("Cannot modify CQL3 table " + oldCfm.cfName + " as it may break the schema. You should use cqlsh to modify CQL3 tables instead."); state().hasColumnFamilyAccess(cf_def.keyspace, cf_def.name, Permission.ALTER);