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
4306940b
Commit
4306940b
authored
Jan 17, 2003
by
bar@bar.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some comments have been added
XXX10_to_str were not inizialized
parent
2d332844
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
+18
-4
mysys/charset.c
mysys/charset.c
+18
-4
No files found.
mysys/charset.c
View file @
4306940b
...
...
@@ -22,6 +22,17 @@
#include <my_xml.h>
/*
The code below implements this functionality:
- Initializing charset related structures
- Loading dynamic charsets
- Searching for a proper CHARSET_INFO
using charset name, collation name or collatio ID
- Setting server default character set
*/
static
void
set_max_sort_char
(
CHARSET_INFO
*
cs
)
{
...
...
@@ -45,10 +56,13 @@ static void set_max_sort_char(CHARSET_INFO *cs)
static
void
simple_cs_init_functions
(
CHARSET_INFO
*
cs
)
{
cs
->
like_range
=
my_like_range_simple
;
cs
->
wildcmp
=
my_wildcmp_8bit
;
cs
->
strnxfrm
=
my_strnxfrm_simple
;
cs
->
strnncoll
=
my_strnncoll_simple
;
cs
->
like_range
=
my_like_range_simple
;
cs
->
wildcmp
=
my_wildcmp_8bit
;
cs
->
mb_wc
=
my_mb_wc_8bit
;
cs
->
wc_mb
=
my_wc_mb_8bit
;
cs
->
caseup_str
=
my_caseup_str_8bit
;
cs
->
casedn_str
=
my_casedn_str_8bit
;
cs
->
caseup
=
my_caseup_8bit
;
...
...
@@ -56,11 +70,11 @@ static void simple_cs_init_functions(CHARSET_INFO *cs)
cs
->
tosort
=
my_tosort_8bit
;
cs
->
strcasecmp
=
my_strcasecmp_8bit
;
cs
->
strncasecmp
=
my_strncasecmp_8bit
;
cs
->
mb_wc
=
my_mb_wc_8bit
;
cs
->
wc_mb
=
my_wc_mb_8bit
;
cs
->
hash_caseup
=
my_hash_caseup_simple
;
cs
->
hash_sort
=
my_hash_sort_simple
;
cs
->
snprintf
=
my_snprintf_8bit
;
cs
->
long10_to_str
=
my_long10_to_str_8bit
;
cs
->
longlong10_to_str
=
my_longlong10_to_str_8bit
;
cs
->
strntol
=
my_strntol_8bit
;
cs
->
strntoul
=
my_strntoul_8bit
;
cs
->
strntoll
=
my_strntoll_8bit
;
...
...
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