From bf4e1d4681554a9c8369ebce6c33fecac197f0e7 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 19 Mar 2004 10:00:46 +0400 Subject: min_sort_char was added, for the future UCA implementation. UCS2 now has its own my_like_range function. --- include/m_ctype.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/m_ctype.h b/include/m_ctype.h index 4444249999d..328359125f4 100644 --- a/include/m_ctype.h +++ b/include/m_ctype.h @@ -210,7 +210,8 @@ typedef struct charset_info_st uint strxfrm_multiply; uint mbminlen; uint mbmaxlen; - char max_sort_char; /* For LIKE optimization */ + uint16 min_sort_char; + uint16 max_sort_char; /* For LIKE optimization */ MY_CHARSET_HANDLER *cset; MY_COLLATION_HANDLER *coll; @@ -305,6 +306,13 @@ my_bool my_like_range_simple(CHARSET_INFO *cs, char *min_str, char *max_str, uint *min_length, uint *max_length); +my_bool my_like_range_ucs2(CHARSET_INFO *cs, + const char *ptr, uint ptr_length, + pbool escape, pbool w_one, pbool w_many, + uint res_length, + char *min_str, char *max_str, + uint *min_length, uint *max_length); + int my_wildcmp_8bit(CHARSET_INFO *, const char *str,const char *str_end, -- cgit v1.2.1