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
434d385a
Commit
434d385a
authored
Aug 27, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile all charset conversion tables if --with-extra-charsets=all
or --with-extra-charsets=complex is given.
parent
14f96b2f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
acconfig.h
acconfig.h
+3
-0
configure.in
configure.in
+2
-0
sql/convert.cc
sql/convert.cc
+3
-0
No files found.
acconfig.h
View file @
434d385a
...
@@ -281,6 +281,9 @@
...
@@ -281,6 +281,9 @@
/* READLINE: */
/* READLINE: */
#undef VOID_SIGHANDLER
#undef VOID_SIGHANDLER
/* Define this if you want extra character set conversion table*/
#undef DEFINE_ALL_CHARACTER_SETS
/* Leave that blank line there!! Autoheader needs it.
/* Leave that blank line there!! Autoheader needs it.
If you're adding to this file, keep in mind:
If you're adding to this file, keep in mind:
...
...
configure.in
View file @
434d385a
...
@@ -2262,9 +2262,11 @@ elif test "$extra_charsets" = complex; then
...
@@ -2262,9 +2262,11 @@ elif test "$extra_charsets" = complex; then
CHARSETS
=
`
/bin/ls
-1
$srcdir
/strings/ctype-
*
.c |
\
CHARSETS
=
`
/bin/ls
-1
$srcdir
/strings/ctype-
*
.c |
\
sed
-e
's;^.*/ctype-;;'
-e
's;.c$;;'
`
sed
-e
's;^.*/ctype-;;'
-e
's;.c$;;'
`
CHARSETS
=
`
echo
$CHARSETS
`
# get rid of line breaks
CHARSETS
=
`
echo
$CHARSETS
`
# get rid of line breaks
AC_DEFINE
([
DEFINE_ALL_CHARACTER_SETS]
)
else
else
if
test
"
$extra_charsets
"
=
all
;
then
if
test
"
$extra_charsets
"
=
all
;
then
CHARSETS
=
"
$CHARSETS_AVAILABLE
$CHARSETS_DEPRECATED
"
CHARSETS
=
"
$CHARSETS_AVAILABLE
$CHARSETS_DEPRECATED
"
AC_DEFINE
([
DEFINE_ALL_CHARACTER_SETS]
)
else
else
CHARSETS
=
`
echo
$extra_charsets
|
sed
-e
's/,/ /g'
`
CHARSETS
=
`
echo
$extra_charsets
|
sed
-e
's/,/ /g'
`
fi
fi
...
...
sql/convert.cc
View file @
434d385a
...
@@ -20,6 +20,9 @@
...
@@ -20,6 +20,9 @@
** Some of the tables are hidden behind IFDEF to reduce some space.
** Some of the tables are hidden behind IFDEF to reduce some space.
** One can enable them by removing the // characters from the next comment
** One can enable them by removing the // characters from the next comment
** One must also give a name to each mapping that one wants to use...
** One must also give a name to each mapping that one wants to use...
**
** All tables are activated if --with-extra-charsets=all or
** --with-extra-charsets=complex was given to configure.
*/
*/
/* #define DEFINE_ALL_CHARACTER_SETS */
/* #define DEFINE_ALL_CHARACTER_SETS */
...
...
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