summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbar@bar.mysql.r18.ru <>2003-09-16 15:43:17 +0500
committerbar@bar.mysql.r18.ru <>2003-09-16 15:43:17 +0500
commit83c6946232b4ecc4a691b4f34155d434b804b362 (patch)
treea274da12cc2ccf98ae8d30d2f11971f5c52e8946 /include
parent710599ca2e4e496c69553344068cc3e5ad073297 (diff)
downloadmariadb-git-83c6946232b4ecc4a691b4f34155d434b804b362.tar.gz
Bug fix:
http://bugs.mysql.com/bug.php?id=1264
Diffstat (limited to 'include')
-rw-r--r--include/m_ctype.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/m_ctype.h b/include/m_ctype.h
index 4ae6734a48c..8116058d687 100644
--- a/include/m_ctype.h
+++ b/include/m_ctype.h
@@ -131,6 +131,7 @@ typedef struct my_charset_handler_st
int (*mbcharlen)(struct charset_info_st *, uint);
uint (*numchars)(struct charset_info_st *, const char *b, const char *e);
uint (*charpos)(struct charset_info_st *, const char *b, const char *e, uint pos);
+ uint (*lengthsp)(struct charset_info_st *, const char *ptr, uint length);
/* Unicode convertion */
int (*mb_wc)(struct charset_info_st *cs,my_wc_t *wc,
@@ -240,6 +241,8 @@ extern void my_hash_sort_simple(CHARSET_INFO *cs,
const uchar *key, uint len,
ulong *nr1, ulong *nr2);
+extern uint my_lengthsp_8bit(CHARSET_INFO *cs, const char *ptr, uint length);
+
/* Functions for 8bit */
extern void my_caseup_str_8bit(CHARSET_INFO *, char *);