mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-18281 COM_RESET_CONNECTION changes the connection encoding
Store original charset during client authentication, and restore it for COM_RESET_CONNECTION
This commit is contained in:
@ -796,6 +796,7 @@ bool thd_init_client_charset(THD *thd, uint cs_number)
|
||||
cs->csname);
|
||||
return true;
|
||||
}
|
||||
thd->org_charset= cs;
|
||||
thd->update_charset(cs,cs,cs);
|
||||
}
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user