~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/str2int.c

Much closer toward UTF8 being around all the time...

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
      converted value (and the scale!) as *negative* numbers,
93
93
      so the sign is the opposite of what you might expect.
94
94
      */
95
 
  while (my_isspace(&my_charset_latin1,*src)) src++;
 
95
  while (my_isspace(&my_charset_utf8_general_ci,*src)) src++;
96
96
  sign = -1;
97
97
  if (*src == '+') src++; else
98
98
    if (*src == '-') src++, sign = 1;