diff options
author | unknown <bar@bar.mysql.r18.ru> | 2003-07-31 09:00:22 +0500 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2003-07-31 09:00:22 +0500 |
commit | e0ec91cde2aa6a1139914d65530f95ed4bc4842a (patch) | |
tree | 1d557bdff060909f012090a29a1aa7b17bee502f /client | |
parent | 073f2d775ea2ccd29b5081165f1c2066284fa450 (diff) | |
download | mariadb-git-e0ec91cde2aa6a1139914d65530f95ed4bc4842a.tar.gz |
mysqldump.c:
Use the default character set instead of binary. This is to make "mysqlshow" -> "cat'n'paste database name" -> "mysqldump dbname" circle working.
client/mysqldump.c:
Use the default character set instead of binary. This is to make "mysqlshow" -> "cat'n'paste database name" -> "mysqldump dbname" circle working.
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqldump.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c index 4eb6d74cdf1..2c8628d10a8 100644 --- a/client/mysqldump.c +++ b/client/mysqldump.c @@ -86,9 +86,10 @@ static MYSQL mysql_connection,*sock=0; static char insert_pat[12 * 1024],*opt_password=0,*current_user=0, *current_host=0,*path=0,*fields_terminated=0, *lines_terminated=0, *enclosed=0, *opt_enclosed=0, *escaped=0, - *where=0, *default_charset= (char *) "binary", + *where=0, *opt_compatible_mode_str= 0, *err_ptr= 0; +static char *default_charset= (char*) MYSQL_DEFAULT_CHARSET_NAME; static ulong opt_compatible_mode= 0; static uint opt_mysql_port= 0, err_len= 0; static my_string opt_mysql_unix_port=0; |