summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-11-24 15:55:55 +0400
committerAlexander Barkov <bar@mariadb.org>2016-11-24 15:55:55 +0400
commit1d8eafbeafbc4a77153d6ceb974dbbeff543e648 (patch)
treea3af7b925d13aadac59c9eade54146f9cb1ac8a2 /strings
parent57058cb6772ec4205c1b0bade761f5bf65772748 (diff)
downloadmariadb-git-1d8eafbeafbc4a77153d6ceb974dbbeff543e648.tar.gz
Removing the unused function my_bincmp() from strings/ctype-ucs2.c
Diffstat (limited to 'strings')
-rw-r--r--strings/ctype-ucs2.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/strings/ctype-ucs2.c b/strings/ctype-ucs2.c
index f2bcf69bbc6..c080e344b35 100644
--- a/strings/ctype-ucs2.c
+++ b/strings/ctype-ucs2.c
@@ -53,17 +53,6 @@ static unsigned long lfactor[9]=
#ifdef HAVE_CHARSET_mb2_or_mb4
-static inline int
-my_bincmp(const uchar *s, const uchar *se,
- const uchar *t, const uchar *te)
-{
- int slen= (int) (se - s), tlen= (int) (te - t);
- int len= MY_MIN(slen, tlen);
- int cmp= memcmp(s, t, len);
- return cmp ? cmp : slen - tlen;
-}
-
-
static size_t
my_caseup_str_mb2_or_mb4(CHARSET_INFO * cs __attribute__((unused)),
char * s __attribute__((unused)))