Commit 8c89c0d2 authored by unknown's avatar unknown

cleanup


mysys/my_pread.c:
  don't set errno without a real error
parent 8299fa3f
......@@ -145,6 +145,7 @@ uint my_pwrite(int Filedes, const byte *Buffer, uint Count, my_off_t offset,
#else
if ((writenbytes = (uint) pwrite(Filedes, Buffer, Count,offset)) == Count)
break;
else
my_errno= errno;
#endif
if ((int) writenbytes != -1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment