You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ProxySQL 2.0.6 fails to change switchable optimizations via session variable OPTIMIZER_SWITCH, but in ProxySQL 2.0.5 it works as expected.
Please return to old behaviour.
OS = CentOS 7.5
2019-08-16 17:54:16 MySQL_Session.cpp:5094:handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___MYSQL_COM_QUERY_qpo(): [WARNING] Unable to parse unknown SET query. Setting lock_hostgroup. Please report a bug for future enhancements:SET SESSION OPTIMIZER_SWITCH = "index_merge_intersection=off"
2019-08-16 17:54:32 MySQL_Session.cpp:5102:handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___MYSQL_COM_QUERY_qpo(): [WARNING] Unable to parse unknown SET query. Not setting lock_hostgroup because already set. Please report a bug for future enhancements: SET SESSION OPTIMIZER_SWITCH = "index_merge_intersection=default"
The text was updated successfully, but these errors were encountered:
Trofym
changed the title
ProxySQL 2.0.6 failing to set session variable OPTIMIZER_SWITCH
ProxySQL 2.0.6 fails to set session variable OPTIMIZER_SWITCH
Aug 16, 2019
@Trofym : it doesn't look like it fails, but it succeeds.
The error log is noisy, but it is saying it is disabling multiplexing because it doesn't recognize the SET command.
In this case, 2.0.6 behaves correctly, while 2.0.5 doesn't (it keeps multiplexing enabled)
@renecannao I agree, 2.0.6 behaves correctly, but we use this kind of queries very frequently and error log became big and messy. Can you add such query to exeption and not display as warning in error log?
ProxySQL 2.0.6 fails to change switchable optimizations via session variable OPTIMIZER_SWITCH, but in ProxySQL 2.0.5 it works as expected.
Please return to old behaviour.
OS = CentOS 7.5
Record from error log:
Same test on ProxySQL 2.0.5:
The text was updated successfully, but these errors were encountered: