File: ctype_swe7.test

package info (click to toggle)
mariadb 1%3A11.8.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 772,520 kB
  • sloc: ansic: 2,414,714; cpp: 1,791,394; asm: 381,336; perl: 62,905; sh: 49,647; pascal: 40,897; java: 39,363; python: 20,791; yacc: 20,432; sql: 17,907; xml: 12,344; ruby: 8,544; cs: 6,542; makefile: 6,145; ada: 1,879; lex: 1,193; javascript: 996; objc: 80; tcl: 73; awk: 46; php: 22
file content (73 lines) | stat: -rw-r--r-- 1,476 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
--echo #
--echo # Start of 10.0 tests
--echo #

SET NAMES swe7;

#
# Test escape sequences.
# This also covers:
# MDEV-6737 Stored routines do now work with swe7: "The table mysql.proc is missing, corrupt, or contains bad data"
# as uses stored functions actively.
#

# Tests will be skipped for the view protocol because the view protocol creates 
# an additional util connection and other statistics data 
# (it is necessary to run the view-protocol not in util session )
--disable_service_connection

let $ctype_unescape_combinations=selected;
--source include/ctype_unescape.inc

--enable_service_connection

--echo #
--echo # End of 10.0 tests
--echo #


--echo #
--echo # Start of 10.2 tests
--echo #

--echo #
--echo # MDEV-9711 NO PAD Collatons
--echo #
SET character_set_connection=swe7;
let $coll='swe7_swedish_nopad_ci';
let $coll_pad='swe7_swedish_ci';
--source include/ctype_pad_all_engines.inc

let $coll='swe7_nopad_bin';
let $coll_pad='swe7_bin';
--source include/ctype_pad_all_engines.inc

--echo #
--echo # End of 10.2 tests
--echo #


--echo #
--echo # Start of 10.5 tests
--echo #

--echo #
--echo # MDEV-22043 Special character leads to assertion in my_wc_to_printable_generic on 10.5.2 (debug)
--echo #

SET NAMES swe7;
--error ER_INVALID_CHARACTER_STRING
SELECT `T`;

SET NAMES swe7;
--error ER_INVALID_CHARACTER_STRING
SELECT `龔`;

SET NAMES swe7;
--error ER_PARSE_ERROR
EXECUTE IMMEDIATE _swe7 0x01;


--echo #
--echo # End of 10.5 tests
--echo #