• unknown's avatar
    Bug #11972: client uses wrong character set after reconnect. · 689fae64
    unknown authored
    The mysql client uses the default character set on reconnect.  The default character set is now controled by the client charset command while the client is running.  The charset command now also issues a SET NAMES command to the server to make sure that the client's charset settings are in sync with the server's.
    
    
    client/mysql.cc:
      Client charset command now changes the default character set and issues a SET NAMES command to the server.
    mysql-test/r/mysql.result:
      Corrected results for new behaviour.
    mysql-test/t/mysql.test:
      Removed redundant commands from test.
    689fae64
mysql.cc 105 KB