Bug #6024 Test "client_test" fails in 4.1.6-gamma build (1)
Submitted: 11 Oct 2004 12:24 Modified: 15 Oct 2004 0:06
Reporter: Joerg Bruehe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S1 (Critical)
Version:4.1.6-gamma OS:Other (IRIX64)
Assigned to: Konstantin Osipov CPU Architecture:Any

[11 Oct 2004 12:24] Joerg Bruehe
Description:
Test "client_test" fails in the 4.1.6-gamma build on  octane2(IRIX64):

client_test                    [ fail ]

Errors are (from /usr/people/mysqldev/octane2/test/mysql-debug-4.1.6-gamma-sgi-irix6.5-mips/mysql-test/var/log/mysqltest-time) :
Assertion failed: short_value == -128, file client_test.c, line 6221, pid _19460
/usr/people/mysqldev/octane2/test/mysql-debug-4.1.6-gamma-sgi-irix6.5-mips/bin/mysqltest: command "$TESTS_BINDIR/client_test --testcase --user=root --socket=$MASTER_MYSOCK --port=$MYSQL_TCP_PORT" failed
(the last lines may be the most important ones)

Aborting: client_test failed. To continue, re-run with '--force'.

"Critical" / "High", because it blocks the subsequent tests.

How to repeat:
Run the test suite on "octane2".
[11 Oct 2004 12:37] Joerg Bruehe
Same symptom on "pegasos1(Linux)" - AFAIK PowerPC, big-endian, 32-bit.
[13 Oct 2004 23:19] Konstantin Osipov
Something must be wrong with our platform-specific serialization marcoses (*korr).
There are other big endian boxes where the test passes (sunfire*, powermac*, aix52).
Am I correct?
[14 Oct 2004 23:09] Konstantin Osipov
The fix for Bug#6025 doesn't help here.
[15 Oct 2004 0:06] Konstantin Osipov
Fixed in 4.1.7:
Subject: bk commit - 4.1 tree (konstantin:1.2103) BUG#6024

ChangeSet
  1.2103 04/10/15 03:54:40 konstantin@mysql.com +2 -0
  Fix for Bug#6024 "Test "client_test" fails in 4.1.6-gamma build (1)":
  let's not assume that char is signed (its signedness is not defined).
  The server was also affected by the wrong typedef.

  libmysql/libmysql.c
    1.269 04/10/15 03:54:34 konstantin@mysql.com +4 -3
    Fix for Bug#6024 "Test "client_test" fails in 4.1.6-gamma build (1)":
    let's not assume that char is signed (its signedness is not defined).