Bug #37160 funcs_2: The tests do not check if optional character sets exist.
Submitted: 3 Jun 2008 12:44 Modified: 29 Jul 2008 9:56
Reporter: Matthias Leich Email Updates:
Status: Closed Impact on me:
None 
Category:Tests: Server Severity:S3 (Non-critical)
Version:5.0+ OS:Any
Assigned to: Matthias Leich CPU Architecture:Any

[3 Jun 2008 12:44] Matthias Leich
Description:
Running the "funcs_2" testsuite on a special build 
(mysql-5.0.64) where some character sets are not available.

All <engine>_charset tests fail with
mysqltest:
    In included file "./suite/funcs_2/include/check_charset.inc":
    At line 5: query 'SET NAMES $cset' failed: 
    1115: Unknown character set: 'big5'

These tests were developed on and for a full featured
MySQL and miss therefore the corresponding
    --source include/have_<characterset>.inc
lines within the scripts.

How to repeat:
Have a release where for example big5 character sets
are missing.
   cd mysql-test
   ./mysql-test-run.pl --suite=funcs_2
or look into the source code of the tests.

Suggested fix:
Mandatory:
   Add the corresponding
    --source include/have_<characterset>.inc
   to the scripts
Optional:
   Some cleanup
[3 Jul 2008 15:17] 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/48965
[8 Jul 2008 23:35] Patrick Crews
Ok to push.

Tested on both Mac and Windows OS's
[9 Jul 2008 11:22] 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/49291
[9 Jul 2008 16:39] 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/49325
[9 Jul 2008 18:56] 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/49345
[9 Jul 2008 19:07] 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/49349
[9 Jul 2008 19:18] 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/49352
[9 Jul 2008 19:19] 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/49353
[9 Jul 2008 19:22] 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/49354
[9 Jul 2008 19:27] Matthias Leich
Pushed to
mysql-5.0-bugteam
mysql-5.1-bugteam
mysql-6.0-bugteam
[9 Jul 2008 21:58] 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/49371

2645 Gleb Shchepa	2008-07-10 [merge]
      merge 5.0-main --> 5.0-bugteam
[28 Jul 2008 13:41] Georgi Kodinov
Pushed in 5.0.68, 5.1.28 and 6.0.7-alpha
[28 Jul 2008 13:47] Bugs System
Pushed into 5.0.68  (revid:kpettersson@mysql.com-20080715152926-s5kgnqhtu93b3c8v) (pib:2)
(Retry automatic marking, to ensure nothing is missed. cm01)
[28 Jul 2008 16:47] Bugs System
Pushed into 5.1.28  (revid:joerg@mysql.com-20080714105031-88hmr2baz5di9xej) (version source revid:joerg@mysql.com-20080714105031-88hmr2baz5di9xej) (pib:3)
[28 Jul 2008 17:38] Paul DuBois
Test case changes. No 5.0.x/5.1.x changelog entries needed.

Setting report to Patch Queued pending push of fix into 6.0.x.
[29 Jul 2008 8:52] Georgi Kodinov
Pushed into 6.0.7-alpha
[29 Jul 2008 9:56] Jon Stephens
Closed without further action, per comment from Paul.