summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <bar@bar.intranet.mysql.r18.ru>2004-03-19 10:00:46 +0400
committerunknown <bar@bar.intranet.mysql.r18.ru>2004-03-19 10:00:46 +0400
commitbf4e1d4681554a9c8369ebce6c33fecac197f0e7 (patch)
tree5690da4c222d717abdb084781be1e8a4bcec8d20 /include
parent44452dfa77cb209fe58af3cc2f9c2198006b9ca7 (diff)
downloadmariadb-git-bf4e1d4681554a9c8369ebce6c33fecac197f0e7.tar.gz
min_sort_char was added, for the future UCA implementation.
UCS2 now has its own my_like_range function.
Diffstat (limited to 'include')
-rw-r--r--include/m_ctype.h10
1 files changed, 9 insertions, 1 deletions
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,