~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/my_init.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:
31
31
static uint32_t atoi_octal(const char *str)
32
32
{
33
33
  long int tmp;
34
 
  while (*str && my_isspace(&my_charset_utf8_general_ci, *str))
 
34
  while (*str && my_charset_utf8_general_ci.isspace(*str))
35
35
    str++;
36
36
  tmp= strtol(str, NULL, (*str == '0' ? 8 : 10));
37
37
  return (uint32_t) tmp;