mirror of https://github.com/sysown/proxysql
Add automatic prefix stripping for mysql_variables, pgsql_variables, and admin_variables config parsing
When users mistakenly include the module prefix (e.g., mysql-log_unhealthy_connections) in the mysql_variables section, the variable gets stored with a double prefix (e.g., mysql-mysql-log_unhealthy_connections). This fix automatically strips the prefix if present, ensuring variables are stored correctly. The same logic applies to pgsql_variables (pgsql-) and admin_variables (admin-). Fixes #5246pull/5247/head
parent
689bece9ab
commit
b4683569d6
Loading…
Reference in new issue