Skip to content
Permalink
Browse files

Portability fix.

  • Loading branch information...
vaintroub committed Jun 17, 2019
1 parent c8b5fa4 commit 81f60e8adeb241ed845427e0792349f3a05af99b
Showing with 1 addition and 1 deletion.
  1. +1 −1 mysys/my_pread.c
@@ -69,7 +69,7 @@ size_t my_pread(File Filedes, uchar *Buffer, size_t Count, my_off_t offset,
if (readbytes != Count)
{
/* We should never read with wrong file descriptor! */
DBUG_ASSERT(my_errno != 9);
DBUG_ASSERT(my_errno != EBADF);
my_errno= errno;
if (errno == 0 || (readbytes != (size_t) -1 &&
(MyFlags & (MY_NABP | MY_FNABP))))

0 comments on commit 81f60e8

Please sign in to comment.
You can’t perform that action at this time.