~drizzle-trunk/drizzle/jenkins-Drizzle-Builder-213

« back to all changes in this revision

Viewing changes to drizzled/ctype-simple.cc

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

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
  {
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);