Bug #7373 make test Errors (client_test)
Submitted: 17 Dec 2004 1:57 Modified: 10 Mar 2005 23:42
Reporter: Yukihiro KAWADA Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:4.1.8 OS:Linux (Linux Solaris)
Assigned to: Assigned Account CPU Architecture:Any

[17 Dec 2004 1:57] Yukihiro KAWADA
Description:
client_test                    [ fail ]

Errors are (from /home/staff/mysql-4.1.8/mysql-test/var/log/mysqltest-time) :
client_test.c:687: check failed: 'field->length == length * cs->mbmaxlen'
/home/staff/mysql-4.1.8/client/mysqltest: command "$TESTS_BINDIR/client_test --no-defaults --testcase --user=root --socket=$MASTER_MYSOCK --port=$MYSQL_TCP_PORT --silent" failed
(the last lines may be the most important ones)

How to repeat:
./configure '--prefix=/usr/local/mysql418' '--with-extra-ets=complex' '--enable-thread-safe-client' '--enable-local-infile' '--enable-assembl--disable-shared' '--with-client-ldflags=-all-static' '--with-mysqld-ldflags=-all-st '--with-charset=utf8' '--with-innodb'

Suggested fix:
Maybe key is '--with-charset=utf8'
[1 Jan 2005 12:11] Rob Beckett
Confirmed.

client_test                    [ fail ]

Errors are (from /usr/src/mysql-4.1.8a/mysql-test/var/log/mysqltest-time) :
client_test.c:687: check failed: 'field->length == length * cs->mbmaxlen'
/usr/src/mysql-4.1.8a/client/.libs/mysqltest: command "$TESTS_BINDIR/client_test --no-defaults --testcase --user=root --socket=$MASTER_MYSOCK --port=$MYSQL_TCP_PORT --silent" failed

Config line: ./configure --prefix=/usr --enable-thread-safe-client --enable-assembler --enable-local-infile --with-raid --with-unix-socket-path=/var/run/mysqld/mysqld.sock --with-mysqld-user=mysql --with-comment --with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static --with-charset=utf8 --with-extra-charsets=ascii,latin1 --with-innodb --with-archive-storage-engine

Most interesting.
[4 Jan 2005 2:31] jiang biao
i have get the same error msgs.

Config:
    ./configure --prefix=/opt/mysql \
            --localstatedir=/mysql \
            --with-unix-socket-path=/var/run/mysqld/mysqld.sock \
            --with-tcp-port=3306 \
            --with-mysqld-user=mysql \
            --with-berkeley-db \
            --with-innodb \
            --with-archive-storage-engine \
            --with-csv-storage-engine \
            --without-isam --without-mit-threads \
            --enable-thread-safe-client \
            --without-mysqlfs --with-vio \
            --with-openssl \
            --with-openssl-includes=/opt/openssl/include \
            --with-openssl-libs=/opt/openssl/lib \
            --with-charset=gbk --with-collation=gbk_bin \
            --with-extra-charsets=latin1,utf8 \
            --enable-static --enable-shared \
            --enable-assembler \
            --enable-local-infile \
            --enable-largefile \
            --with-low-memory \
            --with-comment \
            --with-docs \
            --without-debug
[10 Feb 2005 15:24] Konstantin Osipov
I wasn't able to repeat the bug on the latest development tree.
Could you try again with BK version of 4.1?
I will try again later today.
[10 Feb 2005 23:42] Konstantin Osipov
I've now also tested it with the second set of configure options, with the same result.
The test case won't fail if you run latin1_swedish client agains utf8 server too.
[11 Mar 2005 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".