~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/my_write.cc

  • Committer: Olaf van der Spek
  • Date: 2011-04-05 12:26:58 UTC
  • mto: (2278.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2272.
  • Revision ID: olafvdspek@gmail.com-20110405122658-xxrvmobwwwwf3oct
Refactor Open_tables_state

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
size_t my_write(int Filedes, const unsigned char *Buffer, size_t Count, myf MyFlags)
31
31
{
32
32
  size_t writenbytes, written;
33
 
  uint32_t errors;
34
 
  errors=0; written=0;
 
33
  written=0;
35
34
 
36
35
  /* The behavior of write(fd, buf, 0) is not portable */
37
36
  if (unlikely(!Count))