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
c0b5b3cd
Commit
c0b5b3cd
authored
May 02, 2006
by
elliot@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spelling in comments as requested by Osku
This will make charset code easier to understand
parent
19de86dd
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
include/m_ctype.h
include/m_ctype.h
+3
-3
mysql-test/t/cast.test
mysql-test/t/cast.test
+1
-1
mysql-test/t/query_cache.test
mysql-test/t/query_cache.test
+1
-1
sql/sql_string.cc
sql/sql_string.cc
+1
-1
strings/CHARSET_INFO.txt
strings/CHARSET_INFO.txt
+2
-2
No files found.
include/m_ctype.h
View file @
c0b5b3cd
...
...
@@ -176,7 +176,7 @@ typedef struct my_charset_handler_st
uint
(
*
lengthsp
)(
struct
charset_info_st
*
,
const
char
*
ptr
,
uint
length
);
uint
(
*
numcells
)(
struct
charset_info_st
*
,
const
char
*
b
,
const
char
*
e
);
/* Unicode conver
t
ion */
/* Unicode conver
s
ion */
int
(
*
mb_wc
)(
struct
charset_info_st
*
cs
,
my_wc_t
*
wc
,
const
unsigned
char
*
s
,
const
unsigned
char
*
e
);
int
(
*
wc_mb
)(
struct
charset_info_st
*
cs
,
my_wc_t
wc
,
...
...
@@ -186,7 +186,7 @@ typedef struct my_charset_handler_st
int
(
*
ctype
)(
struct
charset_info_st
*
cs
,
int
*
ctype
,
const
unsigned
char
*
s
,
const
unsigned
char
*
e
);
/* Functions for case and sort conver
t
ion */
/* Functions for case and sort conver
s
ion */
void
(
*
caseup_str
)(
struct
charset_info_st
*
,
char
*
);
void
(
*
casedn_str
)(
struct
charset_info_st
*
,
char
*
);
uint
(
*
caseup
)(
struct
charset_info_st
*
,
char
*
src
,
uint
srclen
,
...
...
@@ -204,7 +204,7 @@ typedef struct my_charset_handler_st
void
(
*
fill
)(
struct
charset_info_st
*
,
char
*
to
,
uint
len
,
int
fill
);
/* String-to-number conver
t
ion routines */
/* String-to-number conver
s
ion routines */
long
(
*
strntol
)(
struct
charset_info_st
*
,
const
char
*
s
,
uint
l
,
int
base
,
char
**
e
,
int
*
err
);
ulong
(
*
strntoul
)(
struct
charset_info_st
*
,
const
char
*
s
,
uint
l
,
...
...
mysql-test/t/cast.test
View file @
c0b5b3cd
...
...
@@ -47,7 +47,7 @@ select cast('1a' as signed);
select
cast
(
''
as
signed
);
#
# Character set conver
t
ion
# Character set conver
s
ion
#
set
names
binary
;
select
cast
(
_latin1
'test'
as
char
character
set
latin2
);
...
...
mysql-test/t/query_cache.test
View file @
c0b5b3cd
...
...
@@ -207,7 +207,7 @@ show status like "Qcache_queries_in_cache";
drop
table
t1
;
#
# Charset conver
t
ion (cp1251_koi8 always present)
# Charset conver
s
ion (cp1251_koi8 always present)
#
create
table
t1
(
a
char
(
1
)
not
null
collate
koi8r_general_ci
);
insert
into
t1
values
(
_koi8r
""
);
...
...
sql/sql_string.cc
View file @
c0b5b3cd
...
...
@@ -331,7 +331,7 @@ bool String::set_or_copy_aligned(const char *str,uint32 arg_length,
return
copy_aligned
(
str
,
arg_length
,
offset
,
cs
);
}
/* Copy with charset conver
t
ion */
/* Copy with charset conver
s
ion */
bool
String
::
copy
(
const
char
*
str
,
uint32
arg_length
,
CHARSET_INFO
*
from_cs
,
CHARSET_INFO
*
to_cs
,
uint
*
errors
)
...
...
strings/CHARSET_INFO.txt
View file @
c0b5b3cd
...
...
@@ -172,7 +172,7 @@ mb_wc - converts the left multibyte sequence into it Unicode code.
mc_mb - converts the given Unicode code into multibyte sequence.
Case and sort conver
t
ion
Case and sort conver
s
ion
------------------------
caseup_str - converts the given 0-terminated string into the upper case
casedn_str - converts the given 0-terminated string into the lower case
...
...
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