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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
2eccde25
Commit
2eccde25
authored
May 23, 2003
by
bar@bar.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Character set sets now check if required non-dynamic charsets were really compiled
parent
4b3c1364
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
35 additions
and
11 deletions
+35
-11
mysql-test/include/have_ucs2.inc
mysql-test/include/have_ucs2.inc
+4
-0
mysql-test/include/have_ujis.inc
mysql-test/include/have_ujis.inc
+4
-0
mysql-test/r/have_ucs2.require
mysql-test/r/have_ucs2.require
+2
-0
mysql-test/r/have_ujis.require
mysql-test/r/have_ujis.require
+2
-0
mysql-test/r/isam.result
mysql-test/r/isam.result
+6
-6
mysql-test/t/ctype_many.test
mysql-test/t/ctype_many.test
+2
-0
mysql-test/t/ctype_ujis-master.opt
mysql-test/t/ctype_ujis-master.opt
+0
-1
mysql-test/t/ctype_ujis.test
mysql-test/t/ctype_ujis.test
+3
-1
sql/share/charsets/Index.xml
sql/share/charsets/Index.xml
+12
-3
No files found.
mysql-test/include/have_ucs2.inc
0 → 100644
View file @
2eccde25
--
require
r
/
have_ucs2
.
require
disable_query_log
;
show
collation
like
"ucs2_general_ci"
;
enable_query_log
;
mysql-test/include/have_ujis.inc
0 → 100644
View file @
2eccde25
--
require
r
/
have_ujis
.
require
disable_query_log
;
show
collation
like
"ujis_japanese_ci"
;
enable_query_log
;
mysql-test/r/have_ucs2.require
0 → 100644
View file @
2eccde25
Collation Charset Id D C Sortlen
ucs2_general_ci ucs2 35 Y 0
mysql-test/r/have_ujis.require
0 → 100644
View file @
2eccde25
Collation Charset Id D C Sortlen
ujis_japanese_ci ujis 12 Y 0
mysql-test/r/isam.result
View file @
2eccde25
...
...
@@ -73,14 +73,14 @@ test.t2 check error Table 't2' was not locked with LOCK TABLES
test.t1 check status OK
show columns from t1;
Field Type Collation Null Key Default Extra
a int(11)
binary
PRI 0
b int(11)
binary
MUL 0
c int(11)
binary
0
a int(11)
NULL
PRI 0
b int(11)
NULL
MUL 0
c int(11)
NULL
0
show full columns from t1;
Field Type Collation Null Key Default Extra Privileges Comment
a int(11)
binary
PRI 0 select,insert,update,references
b int(11)
binary
MUL 0 select,insert,update,references
c int(11)
binary
0 select,insert,update,references
a int(11)
NULL
PRI 0 select,insert,update,references
b int(11)
NULL
MUL 0 select,insert,update,references
c int(11)
NULL
0 select,insert,update,references
show index from t1;
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
t1 0 PRIMARY 1 a A 4 NULL NULL BTREE
...
...
mysql-test/t/ctype_many.test
View file @
2eccde25
--
source
include
/
have_ucs2
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
t1
;
--
enable_warnings
...
...
mysql-test/t/ctype_ujis-master.opt
deleted
100644 → 0
View file @
4b3c1364
--default-character-set=ujis
mysql-test/t/ctype_ujis.test
View file @
2eccde25
--
source
include
/
have_ujis
.
inc
#
# Tests with the ujis character set
#
...
...
@@ -9,7 +11,7 @@ drop table if exists t1;
# Test problem with LEFT()
#
create
table
t1
(
c
text
);
create
table
t1
(
c
text
character
set
ujis
);
insert
into
t1
values
(
0xa4a2
),(
0xa4a3
);
select
hex
(
left
(
c
,
1
))
from
t1
group
by
c
;
drop
table
t1
;
sql/share/charsets/Index.xml
View file @
2eccde25
...
...
@@ -169,7 +169,10 @@ To make maintaining easier please:
<family>
Japanese
</family>
<description>
EUC-JP Japanese
</description>
<alias>
euc-jp
</alias>
<collation
name=
"ujis_japanese_ci"
id=
"12"
order=
"Japanese"
flag=
"primary"
/>
<collation
name=
"ujis_japanese_ci"
id=
"12"
order=
"Japanese"
>
<flag>
primary
</flag>
<flag>
compiled
</flag>
</collation>
</charset>
<charset
name=
"sjis"
>
...
...
@@ -178,7 +181,10 @@ To make maintaining easier please:
<alias>
s-jis
</alias>
<alias>
shift-jis
</alias>
<alias>
x-sjis
</alias>
<collation
name=
"sjis_japanese_ci"
id=
"13"
order=
"Japanese"
flag=
"primary"
/>
<collation
name=
"sjis_japanese_ci"
id=
"13"
order=
"Japanese"
>
<flag>
primary
</flag>
<flag>
compiled
</flag>
</collation>
</charset>
<charset
name=
"cp1251"
>
...
...
@@ -376,7 +382,10 @@ To make maintaining easier please:
<charset
name=
"ucs2"
>
<family>
Unicode
</family>
<description>
UCS-2 Unicode
</description>
<collation
name=
"ucs2_general_ci"
id=
"35"
flag=
"primary"
/>
<collation
name=
"ucs2_general_ci"
id=
"35"
>
<flag>
primary
</flag>
<flag>
compiled
</flag>
</collation>
</charset>
<charset
name=
"cp866"
>
...
...
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