diff options
author | unknown <guilhem@mysql.com> | 2005-01-06 21:31:47 +0100 |
---|---|---|
committer | unknown <guilhem@mysql.com> | 2005-01-06 21:31:47 +0100 |
commit | ba9b518ab149a7b41953ab0167ea0b7079c866e2 (patch) | |
tree | 62aba5a6e7de1b817db9ff801a03c6084d22f513 /mysys/my_write.c | |
parent | d3faf620ac6f6d5cfa71ad9001193960d8e6ba42 (diff) | |
parent | 5b47aaed3a34c0b4c9f4c756dc7c65c8bb3a0393 (diff) | |
download | mariadb-git-ba9b518ab149a7b41953ab0167ea0b7079c866e2.tar.gz |
Merge mysql.com:/home/mysql_src/mysql-4.0
into mysql.com:/home/mysql_src/mysql-4.1-clean
mysys/my_write.c:
Auto merged
Diffstat (limited to 'mysys/my_write.c')
-rw-r--r-- | mysys/my_write.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mysys/my_write.c b/mysys/my_write.c index 2df3a31e774..4e8369480b3 100644 --- a/mysys/my_write.c +++ b/mysys/my_write.c @@ -49,8 +49,7 @@ uint my_write(int Filedes, const byte *Buffer, uint Count, myf MyFlags) MyFlags&= ~ MY_WAIT_IF_FULL; /* End if aborted by user */ #endif if ((my_errno == ENOSPC || my_errno == EDQUOT) && - (MyFlags & MY_WAIT_IF_FULL) && - (uint) writenbytes != (uint) -1) + (MyFlags & MY_WAIT_IF_FULL)) { if (!(errors++ % MY_WAIT_GIVE_USER_A_MESSAGE)) my_error(EE_DISK_FULL,MYF(ME_BELL | ME_NOREFRESH), |