Commit 10074642 authored by unknown's avatar unknown

cleanups


include/violite.h:
  Removed not used parameter
libmysql/libmysql.c:
  cleanup
sql/violite.c:
  Removed not used parameter
parent 6d200981
...@@ -70,8 +70,7 @@ my_bool vio_is_blocking( Vio* vio); ...@@ -70,8 +70,7 @@ my_bool vio_is_blocking( Vio* vio);
/* /*
* setsockopt TCP_NODELAY at IPPROTO_TCP level, when possible. * setsockopt TCP_NODELAY at IPPROTO_TCP level, when possible.
*/ */
int vio_fastsend( Vio* vio, int vio_fastsend( Vio* vio,);
my_bool onoff);
/* /*
* setsockopt SO_KEEPALIVE at SOL_SOCKET level, when possible. * setsockopt SO_KEEPALIVE at SOL_SOCKET level, when possible.
*/ */
......
...@@ -576,7 +576,7 @@ append_wild(char *to, char *end, const char *wild) ...@@ -576,7 +576,7 @@ append_wild(char *to, char *end, const char *wild)
**************************************************************************/ **************************************************************************/
void STDCALL void STDCALL
mysql_debug(const char *debug) mysql_debug(const char *debug __attribute__((unused)))
{ {
#ifndef DBUG_OFF #ifndef DBUG_OFF
char *env; char *env;
......
...@@ -265,11 +265,10 @@ vio_is_blocking(Vio * vio) ...@@ -265,11 +265,10 @@ vio_is_blocking(Vio * vio)
} }
int vio_fastsend(Vio * vio __attribute__((unused)), my_bool onoff) int vio_fastsend(Vio * vio __attribute__((unused)))
{ {
int r=0; int r=0;
DBUG_ENTER("vio_fastsend"); DBUG_ENTER("vio_fastsend");
DBUG_PRINT("enter", ("onoff:%d", (int) onoff));
#ifdef IPTOS_THROUGHPUT #ifdef IPTOS_THROUGHPUT
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment