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
1c74e218
Commit
1c74e218
authored
Apr 04, 2006
by
bar@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After merge fix for Bug#12076 --with-extra-charsets has no effect
parent
26100744
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
314 additions
and
79 deletions
+314
-79
mysql-test/r/information_schema.result
mysql-test/r/information_schema.result
+24
-24
mysql-test/t/information_schema.test
mysql-test/t/information_schema.test
+3
-0
strings/conf_to_src.c
strings/conf_to_src.c
+5
-1
strings/ctype-extra.c
strings/ctype-extra.c
+282
-54
No files found.
mysql-test/r/information_schema.result
View file @
1c74e218
...
...
@@ -201,34 +201,34 @@ latin1 cp1252 West European latin1_swedish_ci 1
select * from information_schema.COLLATIONS
where COLLATION_NAME like 'latin1%';
COLLATION_NAME CHARACTER_SET_NAME ID IS_DEFAULT IS_COMPILED SORTLEN
latin1_german1_ci latin1 5
0
latin1_swedish_ci latin1 8 Yes
Yes
1
latin1_danish_ci latin1 15
0
latin1_german2_ci latin1 31
Yes
2
latin1_bin latin1 47
Yes
1
latin1_general_ci latin1 48
0
latin1_general_cs latin1 49
0
latin1_spanish_ci latin1 94
0
latin1_german1_ci latin1 5
# 1
latin1_swedish_ci latin1 8 Yes
#
1
latin1_danish_ci latin1 15
# 1
latin1_german2_ci latin1 31
#
2
latin1_bin latin1 47
#
1
latin1_general_ci latin1 48
# 1
latin1_general_cs latin1 49
# 1
latin1_spanish_ci latin1 94
# 1
SHOW COLLATION LIKE 'latin1%';
Collation Charset Id Default Compiled Sortlen
latin1_german1_ci latin1 5
0
latin1_swedish_ci latin1 8 Yes
Yes
1
latin1_danish_ci latin1 15
0
latin1_german2_ci latin1 31
Yes
2
latin1_bin latin1 47
Yes
1
latin1_general_ci latin1 48
0
latin1_general_cs latin1 49
0
latin1_spanish_ci latin1 94
0
latin1_german1_ci latin1 5
# 1
latin1_swedish_ci latin1 8 Yes
#
1
latin1_danish_ci latin1 15
# 1
latin1_german2_ci latin1 31
#
2
latin1_bin latin1 47
#
1
latin1_general_ci latin1 48
# 1
latin1_general_cs latin1 49
# 1
latin1_spanish_ci latin1 94
# 1
SHOW COLLATION WHERE collation like 'latin1%';
Collation Charset Id Default Compiled Sortlen
latin1_german1_ci latin1 5
0
latin1_swedish_ci latin1 8 Yes
Yes
1
latin1_danish_ci latin1 15
0
latin1_german2_ci latin1 31
Yes
2
latin1_bin latin1 47
Yes
1
latin1_general_ci latin1 48
0
latin1_general_cs latin1 49
0
latin1_spanish_ci latin1 94
0
latin1_german1_ci latin1 5
# 1
latin1_swedish_ci latin1 8 Yes
#
1
latin1_danish_ci latin1 15
# 1
latin1_german2_ci latin1 31
#
2
latin1_bin latin1 47
#
1
latin1_general_ci latin1 48
# 1
latin1_general_cs latin1 49
# 1
latin1_spanish_ci latin1 94
# 1
select * from information_schema.COLLATION_CHARACTER_SET_APPLICABILITY
where COLLATION_NAME like 'latin1%';
COLLATION_NAME CHARACTER_SET_NAME
...
...
mysql-test/t/information_schema.test
View file @
1c74e218
...
...
@@ -93,9 +93,12 @@ SHOW CHARACTER SET WHERE charset like 'latin1%';
# Test for information_schema.COLLATIONS &
# SHOW COLLATION
--
replace_column
5
#
select
*
from
information_schema
.
COLLATIONS
where
COLLATION_NAME
like
'latin1%'
;
--
replace_column
5
#
SHOW
COLLATION
LIKE
'latin1%'
;
--
replace_column
5
#
SHOW
COLLATION
WHERE
collation
like
'latin1%'
;
select
*
from
information_schema
.
COLLATION_CHARACTER_SET_APPLICABILITY
...
...
strings/conf_to_src.c
View file @
1c74e218
...
...
@@ -221,13 +221,17 @@ void dispcset(FILE *f,CHARSET_INFO *cs)
}
fprintf
(
f
,
" NULL, /* from_uni */
\n
"
);
fprintf
(
f
,
" my_unicase_default, /* caseinfo */
\n
"
);
fprintf
(
f
,
" NULL, /* state map */
\n
"
);
fprintf
(
f
,
" NULL, /* ident map */
\n
"
);
fprintf
(
f
,
" 1, /* strxfrm_multiply*/
\n
"
);
fprintf
(
f
,
" 1, /* caseup_multiply*/
\n
"
);
fprintf
(
f
,
" 1, /* casedn_multiply*/
\n
"
);
fprintf
(
f
,
" 1, /* mbminlen */
\n
"
);
fprintf
(
f
,
" 1, /* mbmaxlen */
\n
"
);
fprintf
(
f
,
" 0, /* min_sort_char */
\n
"
);
fprintf
(
f
,
" 255, /* max_sort_char */
\n
"
);
fprintf
(
f
,
" ' ', /* pad_char */
\n
"
);
fprintf
(
f
,
" 0, /* escape_with_backslash_is_dangerous */
\n
"
);
fprintf
(
f
,
" &my_charset_8bit_handler,
\n
"
);
...
...
strings/ctype-extra.c
View file @
1c74e218
This diff is collapsed.
Click to expand it.
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