diff options
author | Alexander Barkov <bar@mariadb.org> | 2016-05-17 15:27:10 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2016-05-17 15:27:10 +0400 |
commit | e7ff281d2e954f9ab7f08a3e1a425a3c59e8f796 (patch) | |
tree | e8e3903a609daef952785e28e5c876bafd52ba7b /strings/ctype-ujis.c | |
parent | 7e66a24dfb381290d59786c36e1dc478ad365bd1 (diff) | |
download | mariadb-git-e7ff281d2e954f9ab7f08a3e1a425a3c59e8f796.tar.gz |
MDEV-6353 my_ismbchar() and my_mbcharlen() refactoring
Diffstat (limited to 'strings/ctype-ujis.c')
-rw-r--r-- | strings/ctype-ujis.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/strings/ctype-ujis.c b/strings/ctype-ujis.c index b24fdb3075f..786ae991aef 100644 --- a/strings/ctype-ujis.c +++ b/strings/ctype-ujis.c @@ -220,12 +220,6 @@ static const uchar sort_order_ujis[]= #include "strcoll.ic" -static uint mbcharlen_ujis(CHARSET_INFO *cs __attribute__((unused)),uint c) -{ - return (isujis(c)? 2: isujis_ss2(c)? 2: isujis_ss3(c)? 3: 1); -} - - static size_t my_numcells_eucjp(CHARSET_INFO *cs __attribute__((unused)), const char *str, const char *str_end) @@ -67255,7 +67249,6 @@ static MY_COLLATION_HANDLER my_collation_ujis_bin_handler = static MY_CHARSET_HANDLER my_charset_handler= { NULL, /* init */ - mbcharlen_ujis, my_numchars_mb, my_charpos_mb, my_well_formed_len_ujis, |