Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
cdc03f7a
Commit
cdc03f7a
authored
Aug 07, 2007
by
cmiller@zippy.cornsilk.net
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
parents
d75c7a58
c2df7e08
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
196 additions
and
6 deletions
+196
-6
mysql-test/r/ctype_ascii.result
mysql-test/r/ctype_ascii.result
+177
-0
mysql-test/t/ctype_ascii.test
mysql-test/t/ctype_ascii.test
+13
-0
sql/share/charsets/ascii.xml
sql/share/charsets/ascii.xml
+3
-3
strings/ctype-extra.c
strings/ctype-extra.c
+3
-3
No files found.
mysql-test/r/ctype_ascii.result
0 → 100644
View file @
cdc03f7a
set names ascii;
select 'e'='`';
'e'='`'
0
select 'y'='~';
'y'='~'
0
create table t1 (a char(1) character set ascii);
insert into t1 (a) values (' '), ('a'), ('b'), ('c'), ('d'), ('e'), ('f'), ('g'), ('h'), ('i'), ('j'), ('k'), ('l'), ('m'), ('n'), ('o'), ('p'), ('q'), ('r'), ('s'), ('t'), ('u'), ('v'), ('w'), ('x'), ('y'), ('z'), ('A'), ('B'), ('C'), ('D'), ('E'), ('F'), ('G'), ('H'), ('I'), ('J'), ('K'), ('L'), ('M'), ('N'), ('O'), ('P'), ('Q'), ('R'), ('S'), ('T'), ('U'), ('V'), ('W'), ('X'), ('Y'), ('Z'), ('!'), ('@'), ('#'), ('$'), ('%'), ('^'), ('&'), ('*'), ('('), (')'), ('_'), ('+'), ('`'), ('~'), ('1'), ('2'), ('3'), ('4'), ('5'), ('6'), ('7'), ('8'), ('9'), ('0'), ('['), (']'), ('\\'), ('|'), ('}'), ('{'), ('"'), (':'), (''''), (';'), ('/'), ('.'), (','), ('?'), ('>'), ('<'), ('\n'), ('\t'), ('\a'), ('\f'), ('\v');
select t1a.a, t1b.a from t1 as t1a, t1 as t1b where t1a.a=t1b.a order by binary t1a.a, binary t1b.a;
a a
! !
" "
# #
$ $
% %
& &
' '
( (
) )
* *
+ +
, ,
. .
/ /
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
: :
; ;
< <
> >
? ?
@ @
A A
A a
A a
B B
B b
C C
C c
D D
D d
E E
E e
F F
F f
F f
G G
G g
H H
H h
I I
I i
J J
J j
K K
K k
L L
L l
M M
M m
N N
N n
O O
O o
P P
P p
Q Q
Q q
R R
R r
S S
S s
T T
T t
U U
U u
V V
V v
V v
W W
W w
X X
X x
Y Y
Y y
Z Z
Z z
[ [
\ \
] ]
^ ^
_ _
` `
a A
a A
a a
a a
a a
a a
b B
b b
c C
c c
d D
d d
e E
e e
f F
f F
f f
f f
f f
f f
g G
g g
h H
h h
i I
i i
j J
j j
k K
k k
l L
l l
m M
m m
n N
n n
o O
o o
p P
p p
q Q
q q
r R
r r
s S
s s
t T
t t
u U
u u
v V
v V
v v
v v
v v
v v
w W
w w
x X
x x
y Y
y y
z Z
z z
{ {
| |
} }
~ ~
drop table t1;
End of 5.0 tests.
mysql-test/t/ctype_ascii.test
0 → 100644
View file @
cdc03f7a
#
# Bug #27562: ascii.xml invalid?
#
set
names
ascii
;
select
'e'
=
'`'
;
select
'y'
=
'~'
;
create
table
t1
(
a
char
(
1
)
character
set
ascii
);
insert
into
t1
(
a
)
values
(
' '
),
(
'a'
),
(
'b'
),
(
'c'
),
(
'd'
),
(
'e'
),
(
'f'
),
(
'g'
),
(
'h'
),
(
'i'
),
(
'j'
),
(
'k'
),
(
'l'
),
(
'm'
),
(
'n'
),
(
'o'
),
(
'p'
),
(
'q'
),
(
'r'
),
(
's'
),
(
't'
),
(
'u'
),
(
'v'
),
(
'w'
),
(
'x'
),
(
'y'
),
(
'z'
),
(
'A'
),
(
'B'
),
(
'C'
),
(
'D'
),
(
'E'
),
(
'F'
),
(
'G'
),
(
'H'
),
(
'I'
),
(
'J'
),
(
'K'
),
(
'L'
),
(
'M'
),
(
'N'
),
(
'O'
),
(
'P'
),
(
'Q'
),
(
'R'
),
(
'S'
),
(
'T'
),
(
'U'
),
(
'V'
),
(
'W'
),
(
'X'
),
(
'Y'
),
(
'Z'
),
(
'!'
),
(
'@'
),
(
'#'
),
(
'$'
),
(
'%'
),
(
'^'
),
(
'&'
),
(
'*'
),
(
'('
),
(
')'
),
(
'_'
),
(
'+'
),
(
'`'
),
(
'~'
),
(
'1'
),
(
'2'
),
(
'3'
),
(
'4'
),
(
'5'
),
(
'6'
),
(
'7'
),
(
'8'
),
(
'9'
),
(
'0'
),
(
'['
),
(
']'
),
(
'\\'
),
(
'|'
),
(
'}'
),
(
'{'
),
(
'"'
),
(
':'
),
(
''''
),
(
';'
),
(
'/'
),
(
'.'
),
(
','
),
(
'?'
),
(
'>'
),
(
'<'
),
(
'\n'
),
(
'\t'
),
(
'\a'
),
(
'\f'
),
(
'\v'
);
select
t1a
.
a
,
t1b
.
a
from
t1
as
t1a
,
t1
as
t1b
where
t1a
.
a
=
t1b
.
a
order
by
binary
t1a
.
a
,
binary
t1b
.
a
;
drop
table
t1
;
#
--
echo
End
of
5.0
tests
.
sql/share/charsets/ascii.xml
View file @
cdc03f7a
...
@@ -117,9 +117,9 @@
...
@@ -117,9 +117,9 @@
20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F
20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F
30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F
30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F
40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F
40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F
50 51 52 53 54 55 56 57 58 59 5A 5
C 5D 5B
5E 5F
50 51 52 53 54 55 56 57 58 59 5A 5
B 5C 5D
5E 5F
45
41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F
60
41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F
50 51 52 53 54 55 56 57 58 59 5A 7B 7C 7D
59
7F
50 51 52 53 54 55 56 57 58 59 5A 7B 7C 7D
7E
7F
80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F
80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F
90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F
90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F
A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF
A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF
...
...
strings/ctype-extra.c
View file @
cdc03f7a
...
@@ -894,9 +894,9 @@ uchar sort_order_ascii_general_ci[] = {
...
@@ -894,9 +894,9 @@ uchar sort_order_ascii_general_ci[] = {
0x20
,
0x21
,
0x22
,
0x23
,
0x24
,
0x25
,
0x26
,
0x27
,
0x28
,
0x29
,
0x2A
,
0x2B
,
0x2C
,
0x2D
,
0x2E
,
0x2F
,
0x20
,
0x21
,
0x22
,
0x23
,
0x24
,
0x25
,
0x26
,
0x27
,
0x28
,
0x29
,
0x2A
,
0x2B
,
0x2C
,
0x2D
,
0x2E
,
0x2F
,
0x30
,
0x31
,
0x32
,
0x33
,
0x34
,
0x35
,
0x36
,
0x37
,
0x38
,
0x39
,
0x3A
,
0x3B
,
0x3C
,
0x3D
,
0x3E
,
0x3F
,
0x30
,
0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0x81
,
0x82
,
0x83
,
0x84
,
0x85
,
0x86
,
0x87
,
0x88
,
0x89
,
0x8A
,
0x8B
,
0x8C
,
0x8D
,
0x8E
,
0x8F
,
0x90
,
0x91
,
0x92
,
0x93
,
0x94
,
0x95
,
0x96
,
0x97
,
0x98
,
0x99
,
0x9A
,
0x9B
,
0x9C
,
0x9D
,
0x9E
,
0x9F
,
0x90
,
0x91
,
0x92
,
0x93
,
0x94
,
0x95
,
0x96
,
0x97
,
0x98
,
0x99
,
0x9A
,
0x9B
,
0x9C
,
0x9D
,
0x9E
,
0x9F
,
0xA0
,
0xA1
,
0xA2
,
0xA3
,
0xA4
,
0xA5
,
0xA6
,
0xA7
,
0xA8
,
0xA9
,
0xAA
,
0xAB
,
0xAC
,
0xAD
,
0xAE
,
0xAF
,
0xA0
,
0xA1
,
0xA2
,
0xA3
,
0xA4
,
0xA5
,
0xA6
,
0xA7
,
0xA8
,
0xA9
,
0xAA
,
0xAB
,
0xAC
,
0xAD
,
0xAE
,
0xAF
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment