summaryrefslogtreecommitdiff
path: root/sql/net_serv.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/net_serv.cc')
-rw-r--r--sql/net_serv.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/net_serv.cc b/sql/net_serv.cc
index 581bc12b35b..70111f1b5d6 100644
--- a/sql/net_serv.cc
+++ b/sql/net_serv.cc
@@ -60,8 +60,10 @@
#define EXTRA_DEBUG_fflush fflush
#else
static void inline EXTRA_DEBUG_fprintf(...) {}
+#ifndef MYSQL_SERVER
static int inline EXTRA_DEBUG_fflush(...) { return 0; }
#endif
+#endif
#ifdef MYSQL_SERVER
#define MYSQL_SERVER_my_error my_error
#else