Bug #20266 mysql_client_test fails when built with compile-pentium-max
Submitted: 5 Jun 2006 10:18 Modified: 5 Jun 2006 10:23
Reporter: Konstantin Osipov (OCA) Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: C API (client library) Severity:S3 (Non-critical)
Version:5.1 OS:
Assigned to: Assigned Account CPU Architecture:Any

[5 Jun 2006 10:18] Konstantin Osipov
Description:
Monty writes:

While testing things in 5.1, I compiled the 5.1 server with
BUILD/compile-pentium-max

After this, the mysql_client_test started to fail.

I was able to find out the following about the problem:

shell> ./tests/mysql_client_test test_fetch_float

fails with:

 tiny     : 0(1)
 short    : 11(2)
 int      : 24(4)
 longlong : 37(8)
 float    : 63.000000(4)
 double   : 50(8)
mysql_client_test.c:3881: check failed: '(int) i8_data == rc'
 char     : 76(2)Aborted

If you try a mysql_client_test program that is compiled with
compile-pentium-dbug-valgrind-max against the same server, this
works.

In other words, the bug is either in mysql_client_test or in the
client library.

How to repeat:
See description.
[5 Jun 2006 10:23] Konstantin Osipov
This is a duplicate of Bug#19694