~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.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:
551
551
  if ((tmp_user_info= getpwnam(user)) == NULL)
552
552
  {
553
553
    // Allow a numeric uid to be used
554
 
    const char *pos;
555
 
    for (pos= user; my_isdigit(&my_charset_utf8_general_ci,*pos); pos++) ;
 
554
    const char *pos= user;
 
555
    for (; my_charset_utf8_general_ci.isdigit(*pos); pos++) 
 
556
    {
 
557
    }
556
558
    if (*pos)                                   // Not numeric id
557
559
      goto err;
558
560