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
4d1dedd7
Commit
4d1dedd7
authored
Aug 27, 2004
by
bar@mysql.com
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
5258ea12
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 @
4d1dedd7
...
...
@@ -281,6 +281,9 @@
/* READLINE: */
#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.
If you're adding to this file, keep in mind:
...
...
configure.in
View file @
4d1dedd7
...
...
@@ -2262,9 +2262,11 @@ elif test "$extra_charsets" = complex; then
CHARSETS
=
`
/bin/ls
-1
$srcdir
/strings/ctype-
*
.c |
\
sed
-e
's;^.*/ctype-;;'
-e
's;.c$;;'
`
CHARSETS
=
`
echo
$CHARSETS
`
# get rid of line breaks
AC_DEFINE
([
DEFINE_ALL_CHARACTER_SETS]
)
else
if
test
"
$extra_charsets
"
=
all
;
then
CHARSETS
=
"
$CHARSETS_AVAILABLE
$CHARSETS_DEPRECATED
"
AC_DEFINE
([
DEFINE_ALL_CHARACTER_SETS]
)
else
CHARSETS
=
`
echo
$extra_charsets
|
sed
-e
's/,/ /g'
`
fi
...
...
sql/convert.cc
View file @
4d1dedd7
...
...
@@ -20,6 +20,9 @@
** 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 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 */
...
...
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