summaryrefslogtreecommitdiff
path: root/mysys/my_write.c
diff options
context:
space:
mode:
authorkaa@polly.(none) <>2007-10-25 08:19:57 +0400
committerkaa@polly.(none) <>2007-10-25 08:19:57 +0400
commit3494f691c1da55fc37b2b64476ba1c03dde76100 (patch)
tree632807fd7bb77ca46cfdc4f8148e72ac6b87351d /mysys/my_write.c
parent15e4a8cae8a98fb3ca06b47655ac0036a22b2c84 (diff)
downloadmariadb-git-3494f691c1da55fc37b2b64476ba1c03dde76100.tar.gz
Replaced 'return' with DBUG_RETURN() in the fix for bug #31566.
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 08d70accd57..9ff7babab31 100644
--- a/mysys/my_write.c
+++ b/mysys/my_write.c
@@ -31,7 +31,7 @@ uint my_write(int Filedes, const byte *Buffer, uint Count, myf MyFlags)
/* The behavior of write(fd, buf, 0) is not portable */
if (unlikely(!Count))
- return 0;
+ DBUG_RETURN(0);
for (;;)
{