Bug #26274 some ctype tests do not check, if charset is included
Submitted: 11 Feb 2007 21:16 Modified: 14 Feb 2007 13:04
Reporter: Martin Friebe (Gold Quality Contributor) (OCA) Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:5.0.34 / bk, 4.1 BK, 5.1 BK OS:Any (*)
Assigned to: CPU Architecture:Any
Tags: Tests

[11 Feb 2007 21:16] Martin Friebe
Description:
some of the tests will fail if your server is not build with the charset.

I have ctype_ucs2_def failing because my server is compiled without ucs.
ctype_ucs is skipped correctly

doing a grep for the missing include/have_* :
grep -L have_ t/ctype_*.test
t/ctype_collate.test
t/ctype_cp1251.test
t/ctype_create.test
t/ctype_hebrew.test
t/ctype_latin1.test
t/ctype_latin1_de.test
t/ctype_latin2.test
t/ctype_mb.test
t/ctype_recoding.test
t/ctype_ucs2_def.test
t/ctype_utf8.test

Some of them may always be included, some of them may be possible dissabled during configure

How to repeat:

configure --with-charset=latin1 --with-extra-charset=none
run the test (ctype_ucs2_def)

I had one or two others failing, but cant reproduce...

Suggested fix:
-
[12 Feb 2007 9:06] Sveta Smirnova
Thank you for the report.

Verified as described using last development sources.

Can be duplicate of the bug #18743
[12 Feb 2007 11:04] Sveta Smirnova
All versions are affected.
[14 Feb 2007 13:04] Mads Martin Joergensen
Yes, it is a dupe of that bug.