Bug #13401 mysql command-line client crashes if LANG=ja_JP.eucJP

Submitted: 22 Sep 2005 12:56 Modified: 5 Oct 2005 6:35
Reporter: Victoria Reznichenko Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:4.1.14-standard OS:Linux (linux)
Assigned to: Alexander Barkov CPU Architecture:Any

[22 Sep 2005 12:56] Victoria Reznichenko
Description:
client program that comes with mysql-standard-4.1.14-pc-linux-gnu-i686.tar.gz crashes if environment variable LANG=ja_JP.eucJP.

-bash-2.05b$ LANG=en_US.UTF-8
-bash-2.05b$ export LANG
-bash-2.05b$ ./bin/mysql --defaults-file=./my.cnf
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5 to server version: 4.1.14-standard

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> connect test;
Connection id:    6
Current database: test

mysql> quit
Bye
-bash-2.05b$ LANG=ja_JP.eucJP
-bash-2.05b$ export LANG
-bash-2.05b$ ./bin/mysql --defaults-file=./my.cnf
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 7 to server version: 4.1.14-standard

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> connect mysql;
Connection id:    8
╔╩╔╟╔А╔С╔ф║╪╔Ї╔Г╔С╟Цх©єгє╧
-bash-2.05b$

How to repeat:
1. LANG=ja_JP.eucJP
    export LANG

2. connect to the MySQL server
3. execute: connect db_name
[28 Sep 2005 15:36] MySQL Verification Team
It works fine with mysql-standard-4.1.14-pc-linux-gnu-i686-glibc23.tar.gz that is built with 2.3 glibc.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.058 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.