Route COM_SET_OPTION to all servers

This fixes problems with multi-statement execution which is only enabled
when the corresponding option is present.
This commit is contained in:
Markus Mäkelä 2017-01-25 18:02:37 +02:00
parent aa8851fbe1
commit 3378edc4d3

View File

@ -380,6 +380,7 @@ determine_query_type(GWBUF *querybuf, int packet_type, bool non_empty_packet)
case MYSQL_COM_DEBUG: /*< 0d all servers dump debug info to stdout */
case MYSQL_COM_PING: /*< 0e all servers are pinged */
case MYSQL_COM_CHANGE_USER: /*< 11 all servers change it accordingly */
case MYSQL_COM_SET_OPTION: /*< 1b send options to all servers */
qtype = QUERY_TYPE_SESSION_WRITE;
break;