~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_read.c

  • Committer: Monty Taylor
  • Date: 2008-07-02 14:35:48 UTC
  • mto: This revision was merged to the branch mainline in revision 51.
  • Revision ID: monty@inaugust.com-20080702143548-onj30ry0sugr01uw
Removed all references to THREAD.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
      DBUG_PRINT("warning",("Read only %d bytes off %lu from %d, errno: %d",
51
51
                            (int) readbytes, (ulong) Count, Filedes,
52
52
                            my_errno));
53
 
#ifdef THREAD
54
53
      if ((readbytes == 0 || (int) readbytes == -1) && errno == EINTR)
55
54
      {  
56
55
        DBUG_PRINT("debug", ("my_read() was interrupted and returned %ld",
57
56
                             (long) readbytes));
58
57
        continue;                              /* Interrupted */
59
58
      }
60
 
#endif
61
59
      if (MyFlags & (MY_WME | MY_FAE | MY_FNABP))
62
60
      {
63
61
        if (readbytes == (size_t) -1)