Merge branch '2.2' into develop
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user