Bug #29825 Test case 'ctype_latin2_ch' fails on HP-UX 11.00/11.11 32 bit
Submitted: 16 Jul 2007 14:54 Modified: 15 Sep 2008 18:57
Reporter: Kent Boortz Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Charsets Severity:S3 (Non-critical)
Version:5.2.4-alpha OS:HP/UX (11.00/11.11 32 bit)
Assigned to: Alexander Barkov CPU Architecture:Any

[16 Jul 2007 14:54] Kent Boortz
Description:
The test 'ctype_latin2_ch' fails on HP-UX 11.00 and 11.11 32 bit with

  -------------------------------------------------------
  *** r/ctype_latin2_ch.result
  --- r/ctype_latin2_ch.reject
  ***************
  *** 338,344
    8201
    select hex(weight_string('a' LEVEL 8));
    hex(weight_string('a' LEVEL 8))
  ! 6100
    select hex(weight_string('a' LEVEL 1,8));
    hex(weight_string('a' LEVEL 1,8))
  ! 82016100
  --- 338,344
    8201
    select hex(weight_string('a' LEVEL 8));
    hex(weight_string('a' LEVEL 8))
  ! 8201200103016100
    select hex(weight_string('a' LEVEL 1,8));
    hex(weight_string('a' LEVEL 1,8))
  ! 8201
  -------------------------------------------------------

How to repeat:
Run the test case on the specified platform
[27 Aug 2008 11:54] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/52692

2806 Alexander Barkov	2008-08-27
      Bug#29825 - Test case 'ctype_latin2_ch' fails on HP-UX 11.00/11.11 32 bit
      
      This test failed due to a strange bug in HP-UX native compiler.
      The patch moves variable declaration inside the "{...}" code block,
      which fixes the problem. Verified in both 32 and 64 modes.
      
      Note, the patch is also inline with MySQL coding policy:
      localize variables as much as possible.
[27 Aug 2008 12:29] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/52694

2806 Alexander Barkov	2008-08-27
      Bug#29825 - Test case 'ctype_latin2_ch' fails on HP-UX 11.00/11.11 32 bit
      
      This test failed due to a strange bug in HP-UX native compiler.
      The patch moves variable declaration inside the "{...}" code block,
      which fixes the problem. Verified in both 32 and 64 modes.
      
      Note, the patch is also inline with MySQL coding policy:
      localize variables as much as possible.
[27 Aug 2008 12:33] Alexander Barkov
Pushed into mysql-6.0.7-bugteam
[12 Sep 2008 1:44] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/53909

2682 He Zhenxing	2008-09-12 [merge]
      Auto merge
      Update plugin.h.pp for WL#4398
[14 Sep 2008 4:09] Bugs System
Pushed into 6.0.6-alpha  (revid:bar@mysql.com-20080827114504-rizq9ec63gvyxlmk) (version source revid:hakan@mysql.com-20080716175219-8unfm2ikarselqpw) (pib:3)
[15 Sep 2008 18:57] Paul DuBois
Noted in 6.0.6 changelog.

A problem related to HP-UX compilers that caused incorrect
WEIGHT_STRING() results was fixed.