~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/str2int.c

  • Committer: Monty Taylor
  • Date: 2008-09-13 20:24:20 UTC
  • mfrom: (383.1.35 drizzle)
  • Revision ID: monty@inaugust.com-20080913202420-lkj76ewbabl8ljvp
MergedĀ fromĀ trunk.

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;