Commit f082fc7e authored by unknown's avatar unknown
Browse files

Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug04053/my41-bug04053

into  zippy.cornsilk.net:/home/cmiller/work/mysql/bug04053/my50-bug04053

parents e88121ea 8fb0f8a2
Loading
Loading
Loading
Loading
+25 −22
Original line number Diff line number Diff line
@@ -51,8 +51,11 @@ uint my_read(File Filedes, byte *Buffer, uint Count, myf MyFlags)
      DBUG_PRINT("warning",("Read only %ld bytes off %ld from %d, errno: %d",
                            readbytes, Count, Filedes, my_errno));
#ifdef THREAD
      if (readbytes == 0 && errno == EINTR)
      if ((int) readbytes <= 0 && errno == EINTR)
      {
        DBUG_PRINT("debug", ("my_read() was interrupted and returned %d", (int) readbytes));
        continue;				/* Interrupted */
      }
#endif
      if (MyFlags & (MY_WME | MY_FAE | MY_FNABP))
      {