summaryrefslogtreecommitdiff
path: root/mysys/my_write.c
diff options
context:
space:
mode:
authorunknown <kaa@polly.(none)>2007-10-25 08:22:14 +0400
committerunknown <kaa@polly.(none)>2007-10-25 08:22:14 +0400
commit3aaffef2c6307e7b3e8879a456bcabd0454183c2 (patch)
tree26a0cf9ccf89c331c70015ff9b504e3c6494c90b /mysys/my_write.c
parent2af336971c3deffe29c8f14163eaf4a70b3048c0 (diff)
parentc63f2e3fb6bf3a5eb6da2995c47965843e9b212d (diff)
downloadmariadb-git-3aaffef2c6307e7b3e8879a456bcabd0454183c2.tar.gz
Merge polly.(none):/home/kaa/src/maint/mysql-5.0-maint
into polly.(none):/home/kaa/src/maint/mysql-5.1-maint mysys/my_write.c: Auto merged
Diffstat (limited to 'mysys/my_write.c')
-rw-r--r--mysys/my_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_write.c b/mysys/my_write.c
index 1dd4ff5e405..c67b1d8f3f2 100644
--- a/mysys/my_write.c
+++ b/mysys/my_write.c
@@ -31,7 +31,7 @@ size_t my_write(int Filedes, const uchar *Buffer, size_t Count, myf MyFlags)
/* The behavior of write(fd, buf, 0) is not portable */
if (unlikely(!Count))
- return 0;
+ DBUG_RETURN(0);
for (;;)
{