~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/my_write.cc

  • Committer: Mark Atwood
  • Date: 2011-06-24 11:45:17 UTC
  • mfrom: (2318.6.64 rf)
  • Revision ID: me@mark.atwood.name-20110624114517-1mq8no6jlp2nrg7m
mergeĀ lp:~olafvdspek/drizzle/refactor15

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
  /* The behavior of write(fd, buf, 0) is not portable */
36
36
  if (unlikely(!Count))
37
 
    return(0);
 
37
    return 0;
38
38
 
39
39
  for (;;)
40
40
  {
60
60
      break;                                    /* Return bytes written */
61
61
  }
62
62
  if (MyFlags & (MY_NABP | MY_FNABP))
63
 
    return(0);                  /* Want only errors */
 
63
    return 0;                   /* Want only errors */
64
64
  return(writenbytes+written);
65
65
} /* my_write */
66
66