mirror of https://github.com/sysown/proxysql
See issue #3465 If a user (configurable) connects to proxysql without specifying a session transaction isolation level, proxysql will automatically assigns one to that user connection. Of course, said user can override such default session transaction isolation level running `SET SESSION TRANSACTION ISOLATION LEVEL` on a per-connection basis. This feature can be configured extending `mysql_users.attributes` , adding an object named `default-transaction_isolation` . An example of configuration could be: ``` UPDATE mysql_users SET attributes='{"default-transaction_isolation":"READ COMMITTED"}' WHERE username='sbtest'; ``` This feature also requires input validation making sure that only valid isolation levels are used. Furthermore, both dash and space can be used. If the isolation level specified is not valid, it should be automatically removed from runtime.pull/3466/head
parent
5a6095cd14
commit
52f1d0f1ec
Loading…
Reference in new issue