~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/my_pread.c

  • Committer: Brian Aker
  • Date: 2008-11-04 15:39:09 UTC
  • mfrom: (575.1.2 devel)
  • Revision ID: brian@tangent.org-20081104153909-c72hn65udxs1ccal
Merge of Monty's work

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
                 my_off_t offset, myf MyFlags)
100
100
{
101
101
  size_t writenbytes, written;
102
 
  uint errors;
 
102
  uint32_t errors;
103
103
  errors= 0;
104
104
  written= 0;
105
105
 
124
124
      if (!(errors++ % MY_WAIT_GIVE_USER_A_MESSAGE))
125
125
        my_error(EE_DISK_FULL,MYF(ME_BELL | ME_NOREFRESH),
126
126
                 my_filename(Filedes),my_errno,MY_WAIT_FOR_USER_TO_FIX_PANIC);
127
 
      VOID(sleep(MY_WAIT_FOR_USER_TO_FIX_PANIC));
 
127
      sleep(MY_WAIT_FOR_USER_TO_FIX_PANIC);
128
128
      continue;
129
129
    }
130
130
    if ((writenbytes && writenbytes != (size_t) -1) || my_errno == EINTR)