mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
cleanups
include/violite.h: Removed not used parameter libmysql/libmysql.c: cleanup sql/violite.c: Removed not used parameter
This commit is contained in:
@ -70,8 +70,7 @@ my_bool vio_is_blocking( Vio* vio);
|
||||
/*
|
||||
* setsockopt TCP_NODELAY at IPPROTO_TCP level, when possible.
|
||||
*/
|
||||
int vio_fastsend( Vio* vio,
|
||||
my_bool onoff);
|
||||
int vio_fastsend( Vio* vio,);
|
||||
/*
|
||||
* setsockopt SO_KEEPALIVE at SOL_SOCKET level, when possible.
|
||||
*/
|
||||
|
@ -576,7 +576,7 @@ append_wild(char *to, char *end, const char *wild)
|
||||
**************************************************************************/
|
||||
|
||||
void STDCALL
|
||||
mysql_debug(const char *debug)
|
||||
mysql_debug(const char *debug __attribute__((unused)))
|
||||
{
|
||||
#ifndef DBUG_OFF
|
||||
char *env;
|
||||
|
@ -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;
|
||||
DBUG_ENTER("vio_fastsend");
|
||||
DBUG_PRINT("enter", ("onoff:%d", (int) onoff));
|
||||
|
||||
#ifdef IPTOS_THROUGHPUT
|
||||
{
|
||||
|
Reference in New Issue
Block a user