~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/ctype-simple.cc

  • Committer: Mark Atwood
  • Date: 2011-10-25 19:08:35 UTC
  • mfrom: (2445.1.6 rf)
  • Revision ID: me@mark.atwood.name-20111025190835-g21cn911ypxjd5fi
mergeĀ lp:~olafvdspek/drizzle/refactor7

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
  s = nptr;
82
82
  e = nptr+l;
83
83
 
84
 
  for ( ; s<e && my_isspace(cs, *s) ; s++) {}
 
84
  for ( ; s<e && cs->isspace(*s) ; s++) {}
85
85
 
86
86
  if (s == e)
87
87
  {
204
204
  s = nptr;
205
205
  e = nptr+l;
206
206
 
207
 
  for( ; s<e && my_isspace(cs, *s); s++) {}
 
207
  for( ; s<e && cs->isspace(*s); s++) {}
208
208
 
209
209
  if (s==e)
210
210
  {
317
317
  s = nptr;
318
318
  e = nptr+l;
319
319
 
320
 
  for(; s<e && my_isspace(cs,*s); s++) {}
 
320
  for(; s<e && cs->isspace(*s); s++) {}
321
321
 
322
322
  if (s == e)
323
323
  {
440
440
  s = nptr;
441
441
  e = nptr+l;
442
442
 
443
 
  for(; s<e && my_isspace(cs,*s); s++) {}
 
443
  for(; s<e && cs->isspace(*s); s++) {}
444
444
 
445
445
  if (s == e)
446
446
  {
681
681
inline static int likeconv(const charset_info_st *cs, const char c) 
682
682
{
683
683
#ifdef LIKE_CMP_TOUPPER
684
 
  return (unsigned char) my_toupper(cs, c);
 
684
  return (unsigned char) cs->toupper(c);
685
685
#else
686
686
  return cs->sort_order[(unsigned char)c];
687
687
#endif    
860
860
  case MY_SEQ_SPACES:
861
861
    for ( ; str < end ; str++)
862
862
    {
863
 
      if (!my_isspace(cs,*str))
 
863
      if (!cs->isspace(*str))
864
864
        break;
865
865
    }
866
866
    return (size_t) (str - str0);
1494
1494
 
1495
1495
 
1496
1496
 
1497
 
bool my_propagate_simple(const charset_info_st * const, const unsigned char *,
1498
 
                         size_t)
 
1497
bool my_propagate_simple()
1499
1498
{
1500
1499
  return 1;
1501
1500
}
1502
1501
 
1503
 
 
1504
 
bool my_propagate_complex(const charset_info_st * const, const unsigned char *,
1505
 
                          size_t)
 
1502
bool my_propagate_complex()
1506
1503
{
1507
1504
  return 0;
1508
1505
}