Bug #8052 'client_test' fails in'test_decimal_bug' (line 7297)
Submitted: 20 Jan 2005 16:43 Modified: 24 Mar 2005 0:31
Reporter: Joerg Bruehe Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:5.0.3-pre OS:Unix x86 (Linux, Solaris, OpenBSD)
Assigned to: Konstantin Osipov CPU Architecture:Any

[20 Jan 2005 16:43] Joerg Bruehe
Description:
The recent test build of 5.0.3 (based on this changeset:
  1.1822 05/01/19 23:11:50 sergefp@mysql.com +3 -0
  Merge mysql.com:/dbdata/psergey/mysql-4.1-bug7885
  into mysql.com:/dbdata/psergey/mysql-5.0-bug7885
) failed in test 'client_test' (run in default mode) with this message:

client_test.c:7297: check failed: 'rc == 0'

This is in function 'test_decimal_bug', here a code excerpt:
   7292   data[0]= 0;
   7293   rc= mysql_stmt_bind_result(stmt, bind);
   7294   check_execute(stmt, rc);
   7295
   7296   rc= mysql_stmt_fetch(stmt);
   7297   check_execute(stmt, rc);
   7298
   7299   if (!opt_silent)
   7300     fprintf(stdout, "\n data: %s", data);
   7301   DIE_UNLESS(strcmp(data, "5.61") == 0);

This failure occurs on build and intelxeon3.

How to repeat:
Happened during release build + test.
[21 Jan 2005 9:05] Joerg Bruehe
In next build + test, it also occurred on ds9 (OpenBSD / i386).
[24 Mar 2005 0:31] Konstantin Osipov
Can't repeat with the latest 5.0.3 build tree.