~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/charset.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:
98
98
  /* Fill state_map with states to get a faster parser */
99
99
  for (int i= 0; i < 256; i++)
100
100
  {
101
 
    if (my_isalpha(cs,i))
 
101
    if (cs->isalpha(i))
102
102
      state_map[i]= MY_LEX_IDENT;
103
 
    else if (my_isdigit(cs,i))
 
103
    else if (cs->isdigit(i))
104
104
      state_map[i]= MY_LEX_NUMBER_IDENT;
105
 
    else if (my_mbcharlen(cs, i)>1)
 
105
    else if (my_mbcharlen(cs, i) > 1)
106
106
      state_map[i]= MY_LEX_IDENT;
107
 
    else if (my_isspace(cs,i))
 
107
    else if (cs->isspace(i))
108
108
      state_map[i]= MY_LEX_SKIP;
109
109
    else
110
110
      state_map[i]= MY_LEX_CHAR;