1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00
This commit is contained in:
monty@donna.mysql.com
2000-12-31 12:21:42 +02:00
parent e390213a58
commit 5c18942398
3 changed files with 3 additions and 5 deletions

View File

@ -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.
*/ */

View File

@ -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;

View File

@ -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
{ {