Merge branch '2.2' into develop

This commit is contained in:
Johan Wikman
2018-05-16 09:31:13 +03:00
37 changed files with 380 additions and 419 deletions

View File

@ -885,6 +885,14 @@ gw_read_and_write(DCB *dcb)
}
else
{
/**
* The client protocol always requests an authentication method
* switch to the same plugin to be compatible with most connectors.
*
* To prevent packet sequence number mismatch, always return a sequence
* of 3 for the final response to a COM_CHANGE_USER.
*/
GWBUF_DATA(read_buffer)[3] = 0x3;
proto->changing_user = false;
}
}