Re: bk commit into 5.1 tree (anozdrin:1.2613) BUG#30472- Alexander Nozdrin <alik@mysql.com> [07/09/28 23:54]:
> ChangeSet@1.2613, 2007-09-28 23:30:54+04:00, anozdrin@station. +5 -0 > Patch for BUG#30472: libmysql doesn't reset charset, > insert_id after succ. mysql_change_user() call. > > See also WL 4066. > > This bug reveals two problems: > - the problem on the client side which was described originally; > - the problem in protocol / the server side: connection context > on client and server should be like after mysql_real_connect() > and be consistent. The server however just resets character > set variables to the global defaults. > > The fix seems to be as follows: > - extend the protocol so that the client be able to send > character set information in COM_CHANGE_USER command; > - change the server so that it understands client character set > in the command; > - change the client: > - reset character set to the default value (which has been > read from the configuration); > - send character set in COM_CHANGE_USER command.
Thank you very much.
OK to push.
--
-- Konstantin Osipov Software Developer, Moscow, Russia
-- MySQL AB, www.mysql.com The best DATABASE COMPANY in the GALAXY
--
MySQL Code Commits Mailing List
For list archives:
http://lists.mysql.com/commits
To unsubscribe:
http://lists.mysql.com/commits?unsub=lists@pantek.com
Received on Fri Sep 28 16:51:28 2007
This archive was generated by hypermail 2.1.8
: Sun Oct 07 2007 - 09:44:46 EDT
|