Bug #7126 Test failure: 'func_str' when using '--ps-protocol'
Submitted: 9 Dec 2004 11:16 Modified: 10 Dec 2004 17:36
Reporter: Joerg Bruehe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S1 (Critical)
Version:4.1.8-pre OS:IBM AIX (AIX (64), Linux/Alpha(64), +more)
Assigned to: Ramil Kalimullin CPU Architecture:Any

[9 Dec 2004 11:16] Joerg Bruehe
Description:
In addition to the standard way, we now also run the test suite with --ps-protocol.

On several 64 bit platforms 
(AIX 5.2/64 bit, Linux/Alpha, Linux/x86_64, HP-UX/ia64, HP-UX/HPPA64, Linux/ia64, Linux/x86_64/glibc2.3, Solaris/Sparc64),
this resulted in this test output:

-------------------------------------------------------
*** r/func_str.result   Thu Dec  9 00:07:13 2004
--- r/func_str.reject   Thu Dec  9 01:49:58 2004
***************
*** 679,685 ****
  Warning       1265    Data truncated for column 'c2' at row 1
  select * from t1;
  c1    c2
! 2147483647    4294967295
  -2147483648   0
  drop table t1;
  select left(1234, 3) + 0;
--- 679,685 ----
  Warning       1265    Data truncated for column 'c2' at row 1
  select * from t1;
  c1    c2
! 2147483647    18446744073709551615
  -2147483648   0
  drop table t1;
  select left(1234, 3) + 0;
-------------------------------------------------------

There are also failures in tests "type_ranges" and "type_uint" on these platforms, reported separately.

How to repeat:
Run the test with --ps-protocol.
[10 Dec 2004 17:36] Ramil Kalimullin
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

fixed in 4.1.8