summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-09-28 07:21:24 +0300
committerunknown <monty@hundin.mysql.fi>2001-09-28 07:21:24 +0300
commitcf350ce984ac75ef27d5750af2a11cc9704af7e9 (patch)
tree22593a2eb7d844740398f5321b2808d6657f5bca /include
parent05794bca08a0a6107233536c2198b9ba4772a3c5 (diff)
downloadmariadb-git-cf350ce984ac75ef27d5750af2a11cc9704af7e9.tar.gz
Fixed that one can always get a name for a compiled characterset
Docs/manual.texi: Added section "Problems with character sets" acinclude.m4: Fixed typos include/m_ctype.h: Made some declarations global sql/gen_lex_hash.cc: Smaller array
Diffstat (limited to 'include')
-rw-r--r--include/m_ctype.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/m_ctype.h b/include/m_ctype.h
index b41323e10b9..86a67541d73 100644
--- a/include/m_ctype.h
+++ b/include/m_ctype.h
@@ -57,6 +57,8 @@ extern CHARSET_INFO *default_charset_info;
extern CHARSET_INFO *find_compiled_charset(uint cs_number);
extern CHARSET_INFO *find_compiled_charset_by_name(const char *name);
extern CHARSET_INFO compiled_charsets[];
+extern uint compiled_charset_number(const char *name);
+extern const char *compiled_charset_name(uint charset_number);
#define MY_CHARSET_UNDEFINED 0
#define MY_CHARSET_CURRENT (default_charset_info->number)