[MDEV-18281] COM_RESET_CONNECTION change the connection encoding Created: 2019-01-17 Updated: 2019-02-02 Resolved: 2019-02-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Protocol |
| Affects Version/s: | 10.2.21, 10.3.12 |
| Fix Version/s: | 10.2.22, 10.3.13 |
| Type: | Bug | Priority: | Major |
| Reporter: | Diego Dupin | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | None | ||
| Description |
|
When creating a connection, a connector indicates the charset to use for communication in initial handshake packet. After a COM_RESET_CONNECTION connection charset is reinitialized not to the one indicated in initial handshake packet, but to another value, character_set_server. example to reproduced :
returns :
Initial charset transmitted during initial-handshake-packet must be saved and reapplyed, not character_set_server value. |
| Comments |
| Comment by Sylvain Leroux [ 2019-01-29 ] |
|
I can confirm the problem. I've posted a reproducible use case on StackOverflow before finding this issue: |