mariadb/client
unknown 2612fc43b5 Patch inspired by BUG#10491: Server returns data as charset
binary SHOW CREATE TABLE or SELECT FROM I_S.

The problem is that mysqldump generates incorrect dump for a table
with non-ASCII column name if the mysqldump's character set is
ASCII.

The fix is to:
  1. Switch character_set_client for the mysqldump's connection
  to binary before issuing SHOW CREATE TABLE statement in order
  to avoid conversion.
  
  2. Dump switch character_set_client statements to UTF8 and back
  for CREATE TABLE statement.


client/mysqldump.c:
  1. Switch character_set_client for the mysqldump's connection
  to binary before issuing SHOW CREATE TABLE statement in order
  to avoid conversion.
  
  2. Dump switch character_set_client statements to UTF8 and back
  for CREATE TABLE statement.
mysql-test/r/mysqldump-max.result:
  Update result file.
mysql-test/r/mysqldump.result:
  Update result file.
mysql-test/r/openssl_1.result:
  Update result file.
mysql-test/r/show_check.result:
  Update result file.
mysql-test/t/show_check.test:
  Test case:
    - create a table with non-ASCII column name;
    - dump the database by mysqldump using ASCII character set;
    - drop the database;
    - load the dump;
    - check that the table has been re-created properly.
2007-07-25 19:46:50 +04:00
..
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
client_priv.h Bug #26817: mysqldump fails to backup database containing view with invalid definer 2007-03-23 19:24:03 +01:00
CMakeLists.txt Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build-work 2007-06-16 06:16:00 +02:00
completion_hash.cc Many files: 2006-12-23 20:17:15 +01:00
completion_hash.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
echo.c echo.c: 2007-03-20 18:31:49 +01:00
get_password.c Many files: 2006-12-23 20:17:15 +01:00
Makefile.am Format corrections for various "Makefile.am": Leading tab, no trailing blank. 2007-05-02 14:01:49 +02:00
my_readline.h Many files: 2006-12-23 20:17:15 +01:00
mysql.cc Bug #29469: Client dies if a query is issued after hitting Ctrl + C 2007-07-10 10:43:12 +03:00
mysql_upgrade.c Use a temp variable "error" for storing return code of pclose 2007-04-23 13:27:55 +02:00
mysqladmin.cc my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mysqlbinlog.cc Bug#27171 mysqlbinlog produces different output depends from option -R 2007-04-10 15:26:35 +02:00
mysqlcheck.c Many files: 2006-12-23 20:17:15 +01:00
mysqldump.c Patch inspired by BUG#10491: Server returns data as charset 2007-07-25 19:46:50 +04:00
mysqlimport.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mysqlmanager-pwgen.c Avoid the name conflict between the system-provided "md5.h" and the MySQL one 2007-07-19 14:14:03 +02:00
mysqlmanagerc.c Many files: 2006-12-23 20:17:15 +01:00
mysqlshow.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mysqltest.c When opening a new connecgtion, changed mysqltest to prefer a brand new connection slot over an existing, closed slot. Fixes a problem with reused slots that can cause tests to fail. bug#29579 2007-07-13 01:55:04 -04:00
readline.cc Many files: 2006-12-23 20:17:15 +01:00
sql_string.cc Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
sql_string.h Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-22 14:04:40 +02:00