Bug #9232 Test failure: mysql_client_test and type_newdecimal
Submitted: 16 Mar 2005 23:04 Modified: 25 Mar 2005 13:38
Reporter: Brian Aker Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:bk 5.0 OS:Linux (Fedora Core 3)
Assigned to: Alexander Barkov CPU Architecture:Any

[16 Mar 2005 23:04] Brian Aker
Description:
When you configure with:

gmake clean
aclocal; autoheader; autoconf; automake
(cd innobase; aclocal; autoheader; autoconf; automake)
(cd bdb/dist; sh s_all)
./configure --prefix=/home/brian/mysql-builds/example \
--with-example-storage-engine \
--with-csv-storage-engine \
--with-archive-storage-engine \
--with-blackhole-storage-engine \
--with-debug
make -j3

and run "make test" you end up with these failures:

mysql_client_test              [ fail ]

Errors are (from /home/brian/mysql/mysql-5.0/mysql-test/var/log/mysqltest-time) :
/home/brian/mysql/mysql-5.0/tests/.libs/lt-mysql_client_test: Character set 'gbk' is not a compiled character set and is not specified in the '/home/brian/mysql-builds/example/share/mysql/charsets/Index.xml' file
/home/brian/mysql/mysql-5.0/client/.libs/mysqltest: command "$MYSQL_CLIENT_TEST" failed
(the last lines may be the most important ones)

Ending Tests
Shutting-down MySQL daemon

Master shutdown finished
Slave shutdown finished

type_newdecimal                [ fail ]

Errors are (from /home/brian/mysql/mysql-5.0/mysql-test/var/log/mysqltest-time) :
/home/brian/mysql/mysql-5.0/client/.libs/mysqltest: At line 96: query 'CREATE TABLE t1 (a varchar(64) character set ucs2, b decimal(10,3))' failed: 1115: Unknown character set: 'ucs2'
(the last lines may be the most important ones)

Ending Tests
Shutting-down MySQL daemon

How to repeat:
gmake clean
aclocal; autoheader; autoconf; automake
(cd innobase; aclocal; autoheader; autoconf; automake)
(cd bdb/dist; sh s_all)
./configure --prefix=/home/brian/mysql-builds/example \
--with-example-storage-engine \
--with-csv-storage-engine \
--with-archive-storage-engine \
--with-blackhole-storage-engine \
--with-debug
make -j3
make test

Suggested fix:
I would suspect that its expecting something to be installed somewhere before the make test is done. This assumption can not be made.
[25 Mar 2005 13:16] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/23372
[25 Mar 2005 13:17] Alexander Barkov
type_newdecimal was fixed.
Now working on mysql_client_test
[25 Mar 2005 13:38] Alexander Barkov
Fixed in mysql_client_test, too.

As no documenting necessary, changeing status to "closed".