pub fn changes_session(sql: &str) -> bool
Statements that change session state rather than the transaction’s: SET other than SET LOCAL, SET TRANSACTION and SET CONSTRAINTS, and RESET.
SET
SET LOCAL
SET TRANSACTION
SET CONSTRAINTS
RESET