Fix typo in COM_SET_OPTION comment

The comment had the option meanings reversed.
This commit is contained in:
Markus Mäkelä 2017-01-26 10:30:07 +02:00
parent 1a5f79de22
commit 5630afebff

View File

@ -910,8 +910,8 @@ gw_read_normal_data(DCB *dcb, GWBUF *read_buffer, int nbytes_read)
/**
* Handle COM_SET_OPTION. This seems to be only used by some versions of PHP.
*
* The option is stored as a two byte integer with the values 0 for disabling
* multi-statements and 1 for enabling it.
* The option is stored as a two byte integer with the values 0 for enabling
* multi-statements and 1 for disabling it.
*/
MySQLProtocol *proto = dcb->protocol;
uint8_t opt;