1
#################################################################################
2
# Author: Serge Kozlov #
4
# Purpose: used by ../t/*_charset.test #
5
# Require: set $engine_type= [NDB,MyISAM,InnoDB,etc] before calling #
6
#################################################################################
12
let $check_std_csets= 1;
13
let $check_ucs2_csets= 1;
14
let $check_utf8_csets= 1;
17
# Check all charsets/collation combinations
26
let $coll= armscii8_bin;
27
--source suite/funcs_2/include/check_charset.inc
30
let $coll= armscii8_general_ci;
31
--source suite/funcs_2/include/check_charset.inc
37
--source suite/funcs_2/include/check_charset.inc
40
let $coll= ascii_general_ci;
41
--source suite/funcs_2/include/check_charset.inc
47
--source suite/funcs_2/include/check_charset.inc
50
let $coll= big5_chinese_ci;
51
--source suite/funcs_2/include/check_charset.inc
58
--source suite/funcs_2/include/check_charset.inc
63
let $coll= cp1250_bin;
64
--source suite/funcs_2/include/check_charset.inc
67
let $coll= cp1250_croatian_ci;
68
--source suite/funcs_2/include/check_charset.inc
72
let $coll= cp1250_czech_cs;
73
--source suite/funcs_2/include/check_charset.inc
77
let $coll= cp1250_general_ci;
78
--source suite/funcs_2/include/check_charset.inc
83
let $coll= cp1251_bin;
84
--source suite/funcs_2/include/check_charset.inc
87
let $coll= cp1251_bulgarian_ci;
88
--source suite/funcs_2/include/check_charset.inc
91
let $coll= cp1251_general_ci;
92
--source suite/funcs_2/include/check_charset.inc
95
let $coll= cp1251_general_cs;
96
--source suite/funcs_2/include/check_charset.inc
99
let $coll= cp1251_ukrainian_ci;
100
--source suite/funcs_2/include/check_charset.inc
105
let $coll= cp1256_bin;
106
--source suite/funcs_2/include/check_charset.inc
109
let $coll= cp1256_general_ci;
110
--source suite/funcs_2/include/check_charset.inc
115
let $coll= cp1257_bin;
116
--source suite/funcs_2/include/check_charset.inc
119
let $coll= cp1257_general_ci;
120
--source suite/funcs_2/include/check_charset.inc
123
let $coll= cp1257_lithuanian_ci;
124
--source suite/funcs_2/include/check_charset.inc
129
let $coll= cp850_bin;
130
--source suite/funcs_2/include/check_charset.inc
133
let $coll= cp850_general_ci;
134
--source suite/funcs_2/include/check_charset.inc
139
let $coll= cp852_bin;
140
--source suite/funcs_2/include/check_charset.inc
143
let $coll= cp852_general_ci;
144
--source suite/funcs_2/include/check_charset.inc
149
let $coll= cp866_bin;
150
--source suite/funcs_2/include/check_charset.inc
153
let $coll= cp866_general_ci;
154
--source suite/funcs_2/include/check_charset.inc
159
let $coll= cp932_bin;
160
--source suite/funcs_2/include/check_charset.inc
163
let $coll= cp932_japanese_ci;
164
--source suite/funcs_2/include/check_charset.inc
170
--source suite/funcs_2/include/check_charset.inc
173
let $coll= dec8_swedish_ci;
174
--source suite/funcs_2/include/check_charset.inc
179
let $coll= eucjpms_bin;
180
--source suite/funcs_2/include/check_charset.inc
183
let $coll= eucjpms_japanese_ci;
184
--source suite/funcs_2/include/check_charset.inc
189
let $coll= euckr_bin;
190
--source suite/funcs_2/include/check_charset.inc
193
let $coll= euckr_korean_ci;
194
--source suite/funcs_2/include/check_charset.inc
199
let $coll= gb2312_bin;
200
--source suite/funcs_2/include/check_charset.inc
203
let $coll= gb2312_chinese_ci;
204
--source suite/funcs_2/include/check_charset.inc
210
--source suite/funcs_2/include/check_charset.inc
213
let $coll= gbk_chinese_ci;
214
--source suite/funcs_2/include/check_charset.inc
219
let $coll= geostd8_bin;
220
--source suite/funcs_2/include/check_charset.inc
223
let $coll= geostd8_general_ci;
224
--source suite/funcs_2/include/check_charset.inc
229
let $coll= greek_bin;
230
--source suite/funcs_2/include/check_charset.inc
233
let $coll= greek_general_ci;
234
--source suite/funcs_2/include/check_charset.inc
239
let $coll= hebrew_bin;
240
--source suite/funcs_2/include/check_charset.inc
243
let $coll= hebrew_general_ci;
244
--source suite/funcs_2/include/check_charset.inc
250
--source suite/funcs_2/include/check_charset.inc
253
let $coll= hp8_english_ci;
254
--source suite/funcs_2/include/check_charset.inc
259
let $coll= keybcs2_bin;
260
--source suite/funcs_2/include/check_charset.inc
263
let $coll= keybcs2_general_ci;
264
--source suite/funcs_2/include/check_charset.inc
269
let $coll= koi8r_bin;
270
--source suite/funcs_2/include/check_charset.inc
273
let $coll= koi8r_general_ci;
274
--source suite/funcs_2/include/check_charset.inc
279
let $coll= koi8u_bin;
280
--source suite/funcs_2/include/check_charset.inc
283
let $coll= koi8u_general_ci;
284
--source suite/funcs_2/include/check_charset.inc
289
let $coll= latin1_bin;
290
--source suite/funcs_2/include/check_charset.inc
293
let $coll= latin1_danish_ci;
294
--source suite/funcs_2/include/check_charset.inc
297
let $coll= latin1_general_ci;
298
--source suite/funcs_2/include/check_charset.inc
301
let $coll= latin1_general_cs;
302
--source suite/funcs_2/include/check_charset.inc
306
let $coll= latin1_german1_ci;
307
--source suite/funcs_2/include/check_charset.inc
310
let $coll= latin1_german2_ci;
311
--source suite/funcs_2/include/check_charset.inc
314
let $coll= latin1_spanish_ci;
315
--source suite/funcs_2/include/check_charset.inc
318
let $coll= latin1_swedish_ci;
319
--source suite/funcs_2/include/check_charset.inc
324
let $coll= latin2_bin;
325
--source suite/funcs_2/include/check_charset.inc
328
let $coll= latin2_croatian_ci;
329
--source suite/funcs_2/include/check_charset.inc
332
let $coll= latin2_czech_cs;
333
--source suite/funcs_2/include/check_charset.inc
336
let $coll= latin2_general_ci;
337
--source suite/funcs_2/include/check_charset.inc
340
let $coll= latin2_hungarian_ci;
341
--source suite/funcs_2/include/check_charset.inc
346
let $coll= latin5_bin;
347
--source suite/funcs_2/include/check_charset.inc
350
let $coll= latin5_turkish_ci;
351
--source suite/funcs_2/include/check_charset.inc
356
let $coll= latin7_bin;
357
--source suite/funcs_2/include/check_charset.inc
360
let $coll= latin7_estonian_cs;
361
--source suite/funcs_2/include/check_charset.inc
364
let $coll= latin7_general_ci;
365
--source suite/funcs_2/include/check_charset.inc
368
let $coll= latin7_general_cs;
369
--source suite/funcs_2/include/check_charset.inc
374
let $coll= macce_bin;
375
--source suite/funcs_2/include/check_charset.inc
378
let $coll= macce_general_ci;
379
--source suite/funcs_2/include/check_charset.inc
384
let $coll= macroman_bin;
385
--source suite/funcs_2/include/check_charset.inc
388
let $coll= macroman_general_ci;
389
--source suite/funcs_2/include/check_charset.inc
395
--source suite/funcs_2/include/check_charset.inc
398
let $coll= sjis_japanese_ci;
399
--source suite/funcs_2/include/check_charset.inc
405
--source suite/funcs_2/include/check_charset.inc
408
let $coll= swe7_swedish_ci;
409
--source suite/funcs_2/include/check_charset.inc
414
let $coll= tis620_bin;
415
--source suite/funcs_2/include/check_charset.inc
418
let $coll= tis620_thai_ci;
419
--source suite/funcs_2/include/check_charset.inc
425
--source suite/funcs_2/include/check_charset.inc
428
let $coll= ujis_japanese_ci;
429
--source suite/funcs_2/include/check_charset.inc
433
if ($check_ucs2_csets)
440
--source suite/funcs_2/include/check_charset_ucs2.inc
443
let $coll= ucs2_czech_ci;
444
--source suite/funcs_2/include/check_charset_ucs2.inc
447
let $coll= ucs2_danish_ci;
448
--source suite/funcs_2/include/check_charset_ucs2.inc
451
let $coll= ucs2_estonian_ci;
452
--source suite/funcs_2/include/check_charset_ucs2.inc
455
let $coll= ucs2_general_ci;
456
--source suite/funcs_2/include/check_charset_ucs2.inc
459
let $coll= ucs2_hungarian_ci;
460
--source suite/funcs_2/include/check_charset_ucs2.inc
463
let $coll= ucs2_icelandic_ci;
464
--source suite/funcs_2/include/check_charset_ucs2.inc
467
let $coll= ucs2_latvian_ci;
468
--source suite/funcs_2/include/check_charset_ucs2.inc
471
let $coll= ucs2_lithuanian_ci;
472
--source suite/funcs_2/include/check_charset_ucs2.inc
475
let $coll= ucs2_persian_ci;
476
--source suite/funcs_2/include/check_charset_ucs2.inc
479
let $coll= ucs2_polish_ci;
480
--source suite/funcs_2/include/check_charset_ucs2.inc
483
let $coll= ucs2_roman_ci;
484
--source suite/funcs_2/include/check_charset_ucs2.inc
487
let $coll= ucs2_romanian_ci;
488
--source suite/funcs_2/include/check_charset_ucs2.inc
491
let $coll= ucs2_slovak_ci;
492
--source suite/funcs_2/include/check_charset_ucs2.inc
495
let $coll= ucs2_slovenian_ci;
496
--source suite/funcs_2/include/check_charset_ucs2.inc
499
let $coll= ucs2_spanish2_ci;
500
--source suite/funcs_2/include/check_charset_ucs2.inc
503
let $coll= ucs2_spanish_ci;
504
--source suite/funcs_2/include/check_charset_ucs2.inc
507
let $coll= ucs2_swedish_ci;
508
--source suite/funcs_2/include/check_charset_ucs2.inc
511
let $coll= ucs2_turkish_ci;
512
--source suite/funcs_2/include/check_charset_ucs2.inc
515
let $coll= ucs2_unicode_ci;
516
--source suite/funcs_2/include/check_charset_ucs2.inc
520
if ($check_utf8_csets)
527
--source suite/funcs_2/include/check_charset_utf8.inc
530
let $coll= utf8_czech_ci;
531
--source suite/funcs_2/include/check_charset_utf8.inc
534
let $coll= utf8_danish_ci;
535
--source suite/funcs_2/include/check_charset_utf8.inc
538
let $coll= utf8_estonian_ci;
539
--source suite/funcs_2/include/check_charset_utf8.inc
542
let $coll= utf8_general_ci;
543
--source suite/funcs_2/include/check_charset_utf8.inc
546
let $coll= utf8_hungarian_ci;
547
--source suite/funcs_2/include/check_charset_utf8.inc
550
let $coll= utf8_icelandic_ci;
551
--source suite/funcs_2/include/check_charset_utf8.inc
554
let $coll= utf8_latvian_ci;
555
--source suite/funcs_2/include/check_charset_utf8.inc
558
let $coll= utf8_lithuanian_ci;
559
--source suite/funcs_2/include/check_charset_utf8.inc
562
let $coll= utf8_persian_ci;
563
--source suite/funcs_2/include/check_charset_utf8.inc
566
let $coll= utf8_polish_ci;
567
--source suite/funcs_2/include/check_charset_utf8.inc
570
let $coll= utf8_roman_ci;
571
--source suite/funcs_2/include/check_charset_utf8.inc
574
let $coll= utf8_romanian_ci;
575
--source suite/funcs_2/include/check_charset_utf8.inc
578
let $coll= utf8_slovak_ci;
579
--source suite/funcs_2/include/check_charset_utf8.inc
582
let $coll= utf8_slovenian_ci;
583
--source suite/funcs_2/include/check_charset_utf8.inc
586
let $coll= utf8_spanish2_ci;
587
--source suite/funcs_2/include/check_charset_utf8.inc
590
let $coll= utf8_spanish_ci;
591
--source suite/funcs_2/include/check_charset_utf8.inc
594
let $coll= utf8_swedish_ci;
595
--source suite/funcs_2/include/check_charset_utf8.inc
598
let $coll= utf8_turkish_ci;
599
--source suite/funcs_2/include/check_charset_utf8.inc
602
let $coll= utf8_unicode_ci;
603
--source suite/funcs_2/include/check_charset_utf8.inc