summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <kaa@polly.(none)>2007-10-25 08:19:57 +0400
committerunknown <kaa@polly.(none)>2007-10-25 08:19:57 +0400
commitc63f2e3fb6bf3a5eb6da2995c47965843e9b212d (patch)
tree632807fd7bb77ca46cfdc4f8148e72ac6b87351d /mysys
parentddd38de904eb6bf00830441468e4cc89de0f8b0e (diff)
downloadmariadb-git-c63f2e3fb6bf3a5eb6da2995c47965843e9b212d.tar.gz
Replaced 'return' with DBUG_RETURN() in the fix for bug #31566.
Diffstat (limited to 'mysys')
-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 (;;)
{