~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/ctype-uca.cc

  • Committer: Olaf van der Spek
  • Date: 2011-10-24 13:51:13 UTC
  • mto: This revision was merged to the branch mainline in revision 2447.
  • Revision ID: olafvdspek@gmail.com-20111024135113-7wz4cjv432m4w0hn
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
7200
7200
**       1 if matched with wildcard
7201
7201
*/
7202
7202
 
7203
 
int my_wildcmp_uca(const charset_info_st * const cs,
 
7203
static int my_wildcmp_uca(const charset_info_st * const cs,
7204
7204
                   const char *str,const char *str_end,
7205
7205
                   const char *wildstr,const char *wildend,
7206
7206
                   int escape, int w_one, int w_many)
7863
7863
  return create_tailoring(&cs, alloc);
7864
7864
}
7865
7865
 
7866
 
int my_strnncoll_any_uca(const charset_info_st * const cs,
 
7866
static int my_strnncoll_any_uca(const charset_info_st * const cs,
7867
7867
                         const unsigned char *s, size_t slen,
7868
7868
                         const unsigned char *t, size_t tlen,
7869
7869
                         bool t_is_prefix)
7872
7872
                          s, slen, t, tlen, t_is_prefix);
7873
7873
}
7874
7874
 
7875
 
int my_strnncollsp_any_uca(const charset_info_st * const cs,
 
7875
static int my_strnncollsp_any_uca(const charset_info_st * const cs,
7876
7876
                           const unsigned char *s, size_t slen,
7877
7877
                           const unsigned char *t, size_t tlen,
7878
7878
                           bool diff_if_only_endspace_difference)
7882
7882
                            diff_if_only_endspace_difference);
7883
7883
}
7884
7884
 
7885
 
void my_hash_sort_any_uca(const charset_info_st * const cs,
 
7885
static void my_hash_sort_any_uca(const charset_info_st * const cs,
7886
7886
                          const unsigned char *s, size_t slen,
7887
7887
                          uint32_t *n1, uint32_t *n2)
7888
7888
{
7889
7889
  my_hash_sort_uca(cs, &my_any_uca_scanner_handler, s, slen, n1, n2);
7890
7890
}
7891
7891
 
7892
 
size_t my_strnxfrm_any_uca(const charset_info_st * const cs,
 
7892
static size_t my_strnxfrm_any_uca(const charset_info_st * const cs,
7893
7893
                           unsigned char *dst, size_t dstlen, uint32_t nweights,
7894
7894
                           const unsigned char *src, size_t srclen,
7895
7895
                           uint32_t flags)