cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject cassandra git commit: ninja fix commutative op flag for truncate validation
Date Fri, 07 Aug 2015 16:24:46 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-3.0 65c695c91 -> 3be99eeaa


ninja fix commutative op flag for truncate validation


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/3be99eea
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/3be99eea
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/3be99eea

Branch: refs/heads/cassandra-3.0
Commit: 3be99eeaa3546fecaf474d848eecca6aa0254a22
Parents: 65c695c
Author: T Jake Luciani <jake@apache.org>
Authored: Fri Aug 7 12:24:34 2015 -0400
Committer: T Jake Luciani <jake@apache.org>
Committed: Fri Aug 7 12:24:34 2015 -0400

----------------------------------------------------------------------
 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/3be99eea/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 2f47452..9353d16 100644
--- a/src/java/org/apache/cassandra/thrift/CassandraServer.java
+++ b/src/java/org/apache/cassandra/thrift/CassandraServer.java
@@ -2029,7 +2029,7 @@ public class CassandraServer implements Cassandra.Iface
         {
             String keyspace = cState.getKeyspace();
             cState.hasColumnFamilyAccess(keyspace, cfname, Permission.MODIFY);
-            CFMetaData metadata = ThriftValidation.validateColumnFamily(keyspace, cfname,
true);
+            CFMetaData metadata = ThriftValidation.validateColumnFamily(keyspace, cfname,
false);
             if (metadata.isMaterializedView())
                 throw new org.apache.cassandra.exceptions.InvalidRequestException("Cannot
truncate Materialized Views");
 


Mime
View raw message