Bug #7513 Test failure: 'client_test' (line 9929: 'rc == MYSQL_DATA_TRUNCATED')
Submitted: 23 Dec 2004 19:31 Modified: 23 Jan 2005 13:29
Reporter: Joerg Bruehe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S1 (Critical)
Version:5.0.3-pre OS:Various Unix
Assigned to: Konstantin Osipov CPU Architecture:Any

[23 Dec 2004 19:31] Joerg Bruehe
Description:
In today's (Dec 23) pull, build, and test of 5.0, 'client_test' fails on various platforms:

=== cut ===
client_test.c:9929: check failed: 'rc == MYSQL_DATA_TRUNCATED'
Abort - core dumped
.../bin/mysqltest: command "$TESTS_BINDIR/client_test --no-defaults --testcase --user=root --socket=$MASTER_MYSOCK --port=$MYSQL_TCP_PORT --silent" failed
=== cut ===

Happens on 'butch' (Solaris 2.10), 's390' (Linux / s390), Mac (both), 'sunfire100b' (Solaris 2.9), and 'sunfire100c' (Solaris 2.8); all in both 'debug' + 'standard' (except s390, where 'debug' fails to build due to 'disk full').

How to repeat:
Run the test suite.
[23 Jan 2005 13:29] Konstantin Osipov
Should be fixed in the latest tree:
Subject: bk commit - 5.0 tree (konstantin:1.1810)

ChangeSet
  1.1810 05/01/19 03:01:34 konstantin@mysql.com +1 -0
  Fixes of client_test on Solaris 64 bit

  tests/client_test.c
    1.95 05/01/19 03:01:27 konstantin@mysql.com +4 -3
    Fixes for Solaris:
    a) no truncation in one place (ulonglong -> double)
    b) fix a glitch with byte order and passing int * instead of char *
       as a statement attribute

Joerg, please feel free to reopen it if there is any problem.