From 3494f691c1da55fc37b2b64476ba1c03dde76100 Mon Sep 17 00:00:00 2001 From: "kaa@polly.(none)" <> Date: Thu, 25 Oct 2007 08:19:57 +0400 Subject: Replaced 'return' with DBUG_RETURN() in the fix for bug #31566. --- mysys/my_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mysys/my_write.c') 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 (;;) { -- cgit v1.2.1