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
b516d5bd
Commit
b516d5bd
authored
Jan 18, 2006
by
mskold@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.1-new
parents
b508fab0
0e665a7a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
include/m_ctype.h
include/m_ctype.h
+2
-1
mysys/charset-def.c
mysys/charset-def.c
+1
-0
sql/sql_show.cc
sql/sql_show.cc
+2
-0
strings/ctype-utf8.c
strings/ctype-utf8.c
+2
-2
No files found.
include/m_ctype.h
View file @
b516d5bd
...
@@ -66,7 +66,8 @@ extern MY_UNICASE_INFO *my_unicase_turkish[256];
...
@@ -66,7 +66,8 @@ extern MY_UNICASE_INFO *my_unicase_turkish[256];
#define MY_CS_UNICODE 128
/* is a charset is full unicode */
#define MY_CS_UNICODE 128
/* is a charset is full unicode */
#define MY_CS_READY 256
/* if a charset is initialized */
#define MY_CS_READY 256
/* if a charset is initialized */
#define MY_CS_AVAILABLE 512
/* If either compiled-in or loaded*/
#define MY_CS_AVAILABLE 512
/* If either compiled-in or loaded*/
#define MY_CS_CSSORT 1024
/* if case sensitive sort order */
#define MY_CS_CSSORT 1024
/* if case sensitive sort order */
#define MY_CS_HIDDEN 2048
/* don't display in SHOW */
#define MY_CHARSET_UNDEFINED 0
#define MY_CHARSET_UNDEFINED 0
...
...
mysys/charset-def.c
View file @
b516d5bd
...
@@ -78,6 +78,7 @@ my_bool init_compiled_charsets(myf flags __attribute__((unused)))
...
@@ -78,6 +78,7 @@ my_bool init_compiled_charsets(myf flags __attribute__((unused)))
CHARSET_INFO
*
cs
;
CHARSET_INFO
*
cs
;
add_compiled_collation
(
&
my_charset_bin
);
add_compiled_collation
(
&
my_charset_bin
);
add_compiled_collation
(
&
my_charset_filename
);
add_compiled_collation
(
&
my_charset_latin1
);
add_compiled_collation
(
&
my_charset_latin1
);
add_compiled_collation
(
&
my_charset_latin1_bin
);
add_compiled_collation
(
&
my_charset_latin1_bin
);
...
...
sql/sql_show.cc
View file @
b516d5bd
...
@@ -2835,6 +2835,7 @@ int fill_schema_charsets(THD *thd, TABLE_LIST *tables, COND *cond)
...
@@ -2835,6 +2835,7 @@ int fill_schema_charsets(THD *thd, TABLE_LIST *tables, COND *cond)
CHARSET_INFO
*
tmp_cs
=
cs
[
0
];
CHARSET_INFO
*
tmp_cs
=
cs
[
0
];
if
(
tmp_cs
&&
(
tmp_cs
->
state
&
MY_CS_PRIMARY
)
&&
if
(
tmp_cs
&&
(
tmp_cs
->
state
&
MY_CS_PRIMARY
)
&&
(
tmp_cs
->
state
&
MY_CS_AVAILABLE
)
&&
(
tmp_cs
->
state
&
MY_CS_AVAILABLE
)
&&
!
(
tmp_cs
->
state
&
MY_CS_HIDDEN
)
&&
!
(
wild
&&
wild
[
0
]
&&
!
(
wild
&&
wild
[
0
]
&&
wild_case_compare
(
scs
,
tmp_cs
->
csname
,
wild
)))
wild_case_compare
(
scs
,
tmp_cs
->
csname
,
wild
)))
{
{
...
@@ -2904,6 +2905,7 @@ int fill_schema_collation(THD *thd, TABLE_LIST *tables, COND *cond)
...
@@ -2904,6 +2905,7 @@ int fill_schema_collation(THD *thd, TABLE_LIST *tables, COND *cond)
CHARSET_INFO
**
cl
;
CHARSET_INFO
**
cl
;
CHARSET_INFO
*
tmp_cs
=
cs
[
0
];
CHARSET_INFO
*
tmp_cs
=
cs
[
0
];
if
(
!
tmp_cs
||
!
(
tmp_cs
->
state
&
MY_CS_AVAILABLE
)
||
if
(
!
tmp_cs
||
!
(
tmp_cs
->
state
&
MY_CS_AVAILABLE
)
||
(
tmp_cs
->
state
&
MY_CS_HIDDEN
)
||
!
(
tmp_cs
->
state
&
MY_CS_PRIMARY
))
!
(
tmp_cs
->
state
&
MY_CS_PRIMARY
))
continue
;
continue
;
for
(
cl
=
all_charsets
;
cl
<
all_charsets
+
255
;
cl
++
)
for
(
cl
=
all_charsets
;
cl
<
all_charsets
+
255
;
cl
++
)
...
...
strings/ctype-utf8.c
View file @
b516d5bd
...
@@ -4048,8 +4048,8 @@ static MY_CHARSET_HANDLER my_charset_filename_handler=
...
@@ -4048,8 +4048,8 @@ static MY_CHARSET_HANDLER my_charset_filename_handler=
CHARSET_INFO
my_charset_filename
=
CHARSET_INFO
my_charset_filename
=
{
{
33
,
0
,
0
,
/* number */
17
,
0
,
0
,
/* number */
MY_CS_COMPILED
|
MY_CS_PRIMARY
|
MY_CS_STRNXFRM
|
MY_CS_UNICODE
,
/* state */
MY_CS_COMPILED
|
MY_CS_PRIMARY
|
MY_CS_STRNXFRM
|
MY_CS_UNICODE
|
MY_CS_HIDDEN
,
"filename"
,
/* cs name */
"filename"
,
/* cs name */
"filename"
,
/* name */
"filename"
,
/* name */
""
,
/* comment */
""
,
/* comment */
...
...
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