smiklosovic commented on code in PR #3562:
URL: https://github.com/apache/cassandra/pull/3562#discussion_r1778890658
##########
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;
Review Comment:
you dont need "this" here. To keep "this", either rename "constraintName" to
"name" or rename the parameter from "name" to "constraintName" Same bellow in
"addConstraint" method.
--
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]