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
3099b103
Commit
3099b103
authored
Mar 29, 2007
by
bar@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/bar/mysql-5.0.b22378
into mysql.com:/home/bar/mysql-5.1-new-rpl
parents
fc44f5c8
98a4bb35
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
2 deletions
+20
-2
BUILD/compile-pentium-debug-max
BUILD/compile-pentium-debug-max
+1
-1
config/ac-macros/character_sets.m4
config/ac-macros/character_sets.m4
+13
-0
strings/ctype-utf8.c
strings/ctype-utf8.c
+6
-1
No files found.
BUILD/compile-pentium-debug-max
View file @
3099b103
...
@@ -4,6 +4,6 @@ path=`dirname $0`
...
@@ -4,6 +4,6 @@ path=`dirname $0`
.
"
$path
/SETUP.sh"
"
$@
"
--with-debug
=
full
.
"
$path
/SETUP.sh"
"
$@
"
--with-debug
=
full
extra_flags
=
"
$pentium_cflags
$debug_cflags
"
extra_flags
=
"
$pentium_cflags
$debug_cflags
"
extra_configs
=
"
$pentium_configs
$debug_configs
$max_configs
$error_inject
"
extra_configs
=
"
$pentium_configs
$debug_configs
$max_configs
$error_inject
--with-experimental-collations
"
.
"
$path
/FINISH.sh"
.
"
$path
/FINISH.sh"
config/ac-macros/character_sets.m4
View file @
3099b103
...
@@ -429,3 +429,16 @@ then
...
@@ -429,3 +429,16 @@ then
else
else
AC_MSG_RESULT(no)
AC_MSG_RESULT(no)
fi
fi
# Shall we build experimental collations
AC_ARG_WITH(experimental-collations,
[],
[with_exp_coll=$withval],
[with_exp_coll=no]
)
if test "$with_exp_coll" = "yes"
then
AC_DEFINE([HAVE_UTF8_GENERAL_CS], [1], [certain Japanese customer])
fi
strings/ctype-utf8.c
View file @
3099b103
...
@@ -2769,6 +2769,7 @@ static int my_strnncoll_utf8_cs(CHARSET_INFO *cs,
...
@@ -2769,6 +2769,7 @@ static int my_strnncoll_utf8_cs(CHARSET_INFO *cs,
const
uchar
*
te
=
t
+
tlen
;
const
uchar
*
te
=
t
+
tlen
;
int
save_diff
=
0
;
int
save_diff
=
0
;
int
diff
;
int
diff
;
MY_UNICASE_INFO
**
uni_plane
=
cs
->
caseinfo
;
while
(
s
<
se
&&
t
<
te
)
while
(
s
<
se
&&
t
<
te
)
{
{
...
@@ -2805,13 +2806,16 @@ static int my_strnncoll_utf8_cs(CHARSET_INFO *cs,
...
@@ -2805,13 +2806,16 @@ static int my_strnncoll_utf8_cs(CHARSET_INFO *cs,
static
int
my_strnncollsp_utf8_cs
(
CHARSET_INFO
*
cs
,
static
int
my_strnncollsp_utf8_cs
(
CHARSET_INFO
*
cs
,
const
uchar
*
s
,
uint
slen
,
const
uchar
*
s
,
uint
slen
,
const
uchar
*
t
,
uint
tlen
)
const
uchar
*
t
,
uint
tlen
,
my_bool
diff_if_only_endspace_difference
__attribute__
((
unused
)))
{
{
int
s_res
,
t_res
;
int
s_res
,
t_res
;
my_wc_t
s_wc
,
t_wc
;
my_wc_t
s_wc
,
t_wc
;
const
uchar
*
se
=
s
+
slen
;
const
uchar
*
se
=
s
+
slen
;
const
uchar
*
te
=
t
+
tlen
;
const
uchar
*
te
=
t
+
tlen
;
int
save_diff
=
0
;
int
save_diff
=
0
;
MY_UNICASE_INFO
**
uni_plane
=
cs
->
caseinfo
;
while
(
s
<
se
&&
t
<
te
)
while
(
s
<
se
&&
t
<
te
)
{
{
...
@@ -2880,6 +2884,7 @@ static MY_COLLATION_HANDLER my_collation_cs_handler =
...
@@ -2880,6 +2884,7 @@ static MY_COLLATION_HANDLER my_collation_cs_handler =
my_strnncoll_utf8_cs
,
my_strnncoll_utf8_cs
,
my_strnncollsp_utf8_cs
,
my_strnncollsp_utf8_cs
,
my_strnxfrm_utf8
,
my_strnxfrm_utf8
,
my_strnxfrmlen_utf8
,
my_like_range_simple
,
my_like_range_simple
,
my_wildcmp_mb
,
my_wildcmp_mb
,
my_strcasecmp_utf8
,
my_strcasecmp_utf8
,
...
...
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