smiklosovic commented on code in PR #4596:
URL: https://github.com/apache/cassandra/pull/4596#discussion_r3099846683


##########
src/java/org/apache/cassandra/db/guardrails/Guardrails.java:
##########
@@ -54,6 +54,9 @@ public final class Guardrails implements GuardrailsMBean
     public static final String MBEAN_NAME = 
"org.apache.cassandra.db:type=Guardrails";
 
     public static final GuardrailsConfigProvider CONFIG_PROVIDER = 
GuardrailsConfigProvider.instance;
+
+    public static final String MISPREPARED_STATEMENT_WARN_MESSAGE = "This 
query contains only literal values in the WHERE clause. " + "Using one or more 
'?' placeholder values (bind markers) allow a prepared statement to be reused.";
+
     private static final GuardrailsOptions DEFAULT_CONFIG = 
DatabaseDescriptor.getGuardrailsConfig();

Review Comment:
   @omniCoder77  be sure this is reflected in warn / fail message in the 
guardrail



-- 
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]

Reply via email to