omniCoder77 commented on PR #4596:
URL: https://github.com/apache/cassandra/pull/4596#issuecomment-3846792572
In my test cases I have tested
* System keyspaces, internal calls and super users are exempted from this
guardrail check
* Confirmed literals in the SELECT clause are allowed as long as the WHERE
clause is prepared.
* Verified use is warned if and only if
* `misprepared_statement_use` is set to true and statement is
misprepared
* isn't internal call
* user isn't super user.
* Verified no warning when guardrail is violated, instead
`GuardrailViolationException`
* Verified blocks for literals in WHERE clauses, IN clauses, LWT IF
conditions, and JSON inserts.
* Confirmed that blocked queries do not enter the statement cache
* Exempts super user and internal call from this 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]