smiklosovic commented on code in PR #3562:
URL: https://github.com/apache/cassandra/pull/3562#discussion_r1778891838
##########
src/java/org/apache/cassandra/cql3/statements/schema/AlterTableStatement.java:
##########
@@ -804,6 +891,19 @@ public void dropCompactStorage()
kind = Kind.DROP_COMPACT_STORAGE;
}
+ public void dropConstraint(ColumnIdentifier name)
+ {
+ kind = Kind.DROP_CONSTRAINT;
+ this.constraintName = name;
+ }
+
+ public void addConstraint(ColumnIdentifier name, CqlConstraint
constraint)
+ {
+ kind = Kind.ADD_CONSTRAINT;
+ this.constraintName = name;
+ this.constraint = constraint;
Review Comment:
aha I see, these are two things ... ever mind.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]