1--echo #
2--echo # Start of 10.0 tests
3--echo #
4
5SET NAMES swe7;
6
7#
8# Test escape sequences.
9# This also covers:
10# MDEV-6737 Stored routines do now work with swe7: "The table mysql.proc is missing, corrupt, or contains bad data"
11# as uses stored functions actively.
12#
13
14let $ctype_unescape_combinations=selected;
15--source include/ctype_unescape.inc
16
17--echo #
18--echo # End of 10.0 tests
19--echo #
20
21
22--echo #
23--echo # Start of 10.2 tests
24--echo #
25
26--echo #
27--echo # MDEV-9711 NO PAD Collatons
28--echo #
29SET character_set_connection=swe7;
30let $coll='swe7_swedish_nopad_ci';
31let $coll_pad='swe7_swedish_ci';
32--source include/ctype_pad_all_engines.inc
33
34let $coll='swe7_nopad_bin';
35let $coll_pad='swe7_bin';
36--source include/ctype_pad_all_engines.inc
37
38--echo #
39--echo # End of 10.2 tests
40--echo #
41
42
43--echo #
44--echo # Start of 10.5 tests
45--echo #
46
47--echo #
48--echo # MDEV-22043 Special character leads to assertion in my_wc_to_printable_generic on 10.5.2 (debug)
49--echo #
50
51SET NAMES swe7;
52--error ER_INVALID_CHARACTER_STRING
53SELECT `T`;
54
55SET NAMES swe7;
56--error ER_INVALID_CHARACTER_STRING
57SELECT `龔`;
58
59SET NAMES swe7;
60--error ER_PARSE_ERROR
61EXECUTE IMMEDIATE _swe7 0x01;
62
63
64--echo #
65--echo # End of 10.5 tests
66--echo #
67