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
a009ec4a
Commit
a009ec4a
authored
Jul 26, 2005
by
bar@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/usr/home/bar/mysql-4.1
into mysql.com:/usr/home/bar/mysql-5.0
parents
4a85e560
637ec562
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
strings/ctype-gbk.c
strings/ctype-gbk.c
+1
-1
strings/ctype-simple.c
strings/ctype-simple.c
+4
-4
strings/ctype-sjis.c
strings/ctype-sjis.c
+1
-1
No files found.
strings/ctype-gbk.c
View file @
a009ec4a
...
...
@@ -9969,7 +9969,7 @@ uint my_well_formed_len_gbk(CHARSET_INFO *cs __attribute__((unused)),
break
;
}
}
return
b
-
b0
;
return
(
uint
)
(
b
-
b0
)
;
}
...
...
strings/ctype-simple.c
View file @
a009ec4a
...
...
@@ -1090,7 +1090,7 @@ ulong my_scan_8bit(CHARSET_INFO *cs, const char *str, const char *end, int sq)
if
(
*
str
==
'.'
)
{
for
(
str
++
;
str
!=
end
&&
*
str
==
'0'
;
str
++
);
return
(
ulong
)
(
str
-
str0
);
return
(
ulong
)
(
str
-
str0
);
}
return
0
;
...
...
@@ -1100,7 +1100,7 @@ ulong my_scan_8bit(CHARSET_INFO *cs, const char *str, const char *end, int sq)
if
(
!
my_isspace
(
cs
,
*
str
))
break
;
}
return
(
ulong
)
(
str
-
str0
);
return
(
ulong
)
(
str
-
str0
);
default:
return
0
;
}
...
...
@@ -1117,14 +1117,14 @@ void my_fill_8bit(CHARSET_INFO *cs __attribute__((unused)),
uint
my_numchars_8bit
(
CHARSET_INFO
*
cs
__attribute__
((
unused
)),
const
char
*
b
,
const
char
*
e
)
{
return
(
uint
)
(
e
-
b
);
return
(
uint
)
(
e
-
b
);
}
uint
my_numcells_8bit
(
CHARSET_INFO
*
cs
__attribute__
((
unused
)),
const
char
*
b
,
const
char
*
e
)
{
return
(
uint
)
(
e
-
b
);
return
(
uint
)
(
e
-
b
);
}
...
...
strings/ctype-sjis.c
View file @
a009ec4a
...
...
@@ -213,7 +213,7 @@ static int my_strnncoll_sjis_internal(CHARSET_INFO *cs,
uint
a_char
=
sjiscode
(
*
a
,
*
(
a
+
1
));
uint
b_char
=
sjiscode
(
*
b
,
*
(
b
+
1
));
if
(
a_char
!=
b_char
)
return
a_char
-
b_char
;
return
(
int
)
a_char
-
(
int
)
b_char
;
a
+=
2
;
b
+=
2
;
}
else
...
...
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