maedhroz commented on code in PR #4509:
URL: https://github.com/apache/cassandra/pull/4509#discussion_r2583616043
##########
src/java/org/apache/cassandra/cql3/UpdateParameters.java:
##########
@@ -274,6 +274,14 @@ public Row buildRow()
return built;
}
+ @Override
+ public void close()
+ {
+ if (builder == null) return;
+ builder.reset(); // Clear resources
+ builder = null;
Review Comment:
I guess it's nice to have this so we'll explode if someone tries to use a
closed `UP` :D
--
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]