~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/my_init.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:
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;