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
ea39dffb
Commit
ea39dffb
authored
Apr 08, 2005
by
joerg@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/M41/mysql-4.1
parents
d8a5305d
55ee7b92
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
13 deletions
+29
-13
BUILD/compile-pentium-cybozu
BUILD/compile-pentium-cybozu
+9
-0
configure.in
configure.in
+17
-10
mysys/charset-def.c
mysys/charset-def.c
+2
-2
strings/ctype-utf8.c
strings/ctype-utf8.c
+1
-1
No files found.
BUILD/compile-pentium-cybozu
0 → 100755
View file @
ea39dffb
#! /bin/sh
path
=
`
dirname
$0
`
.
"
$path
/SETUP.sh"
extra_flags
=
"
$pentium_cflags
$fast_cflags
-g"
extra_configs
=
"
$pentium_configs
--with-charset=utf8 --with-collation=utf8_general_cs"
.
"
$path
/FINISH.sh"
configure.in
View file @
ea39dffb
...
...
@@ -2770,16 +2770,23 @@ case $default_charset in
;;
utf8
)
default_charset_default_collation
=
"utf8_general_ci"
define
(
UTFC1, utf8_general_ci utf8_bin
)
define
(
UTFC2, utf8_czech_ci utf8_danish_ci
)
define
(
UTFC3, utf8_estonian_ci utf8_icelandic_ci
)
define
(
UTFC4, utf8_latvian_ci utf8_lithuanian_ci
)
define
(
UTFC5, utf8_persian_ci utf8_polish_ci utf8_romanian_ci
)
define
(
UTFC6, utf8_slovak_ci utf8_slovenian_ci
)
define
(
UTFC7, utf8_spanish2_ci utf8_spanish_ci
)
define
(
UTFC8, utf8_swedish_ci utf8_turkish_ci
)
define
(
UTFC9, utf8_unicode_ci
)
UTFC
=
"UTFC1 UTFC2 UTFC3 UTFC4 UTFC5 UTFC6 UTFC7 UTFC8 UTFC9"
if
test
"
$default_collation
"
=
"utf8_general_cs"
;
then
# For those who explicitly desire "utf8_general_cs", support it,
# and then also set the CPP switch enabling that code.
UTFC
=
"utf8_general_cs"
AC_DEFINE
([
HAVE_UTF8_GENERAL_CS],
[
1],
[
certain Japanese customer]
)
else
define
(
UTFC1, utf8_general_ci utf8_bin
)
define
(
UTFC2, utf8_czech_ci utf8_danish_ci
)
define
(
UTFC3, utf8_estonian_ci utf8_icelandic_ci
)
define
(
UTFC4, utf8_latvian_ci utf8_lithuanian_ci
)
define
(
UTFC5, utf8_persian_ci utf8_polish_ci utf8_romanian_ci
)
define
(
UTFC6, utf8_slovak_ci utf8_slovenian_ci
)
define
(
UTFC7, utf8_spanish2_ci utf8_spanish_ci
)
define
(
UTFC8, utf8_swedish_ci utf8_turkish_ci
)
define
(
UTFC9, utf8_unicode_ci
)
UTFC
=
"UTFC1 UTFC2 UTFC3 UTFC4 UTFC5 UTFC6 UTFC7 UTFC8 UTFC9"
fi
default_charset_collations
=
"
$UTFC
"
;;
*
)
...
...
mysys/charset-def.c
View file @
ea39dffb
...
...
@@ -62,7 +62,7 @@ extern CHARSET_INFO my_charset_utf8_slovak_uca_ci;
extern
CHARSET_INFO
my_charset_utf8_spanish2_uca_ci
;
extern
CHARSET_INFO
my_charset_utf8_roman_uca_ci
;
extern
CHARSET_INFO
my_charset_utf8_persian_uca_ci
;
#ifdef HAVE_
CYBOZU_COLLATION
#ifdef HAVE_
UTF8_GENERAL_CS
extern
CHARSET_INFO
my_charset_utf8_general_cs
;
#endif
#endif
...
...
@@ -149,7 +149,7 @@ my_bool init_compiled_charsets(myf flags __attribute__((unused)))
#ifdef HAVE_CHARSET_utf8
add_compiled_collation
(
&
my_charset_utf8_general_ci
);
add_compiled_collation
(
&
my_charset_utf8_bin
);
#ifdef HAVE_
CYBOZU_COLLATION
#ifdef HAVE_
UTF8_GENERAL_CS
add_compiled_collation
(
&
my_charset_utf8_general_cs
);
#endif
#ifdef HAVE_UCA_COLLATIONS
...
...
strings/ctype-utf8.c
View file @
ea39dffb
...
...
@@ -2375,7 +2375,7 @@ CHARSET_INFO my_charset_utf8_bin=
&
my_collation_mb_bin_handler
};
#ifdef HAVE_
CYBOZU_COLLATION
#ifdef HAVE_
UTF8_GENERAL_CS
/*
* These functions bacically do the same as their original, except
...
...
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