1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Update to new vio

include/violite.h:
  Fixed typo
libmysql/violite.c:
  Removed not used parameter
man/Makefile.am:
  Added new manual pages
sql/net_serv.cc:
  Sync with libmysql/net.c
This commit is contained in:
unknown
2000-12-31 12:47:29 +02:00
parent 10074642b4
commit 5b7720900b
5 changed files with 10 additions and 9 deletions

View File

@ -128,7 +128,7 @@ int my_net_init(NET *net, Vio* vio)
if (!(test_flags & TEST_BLOCKING))
vio_blocking(vio, FALSE);
#endif
vio_fastsend(vio,TRUE);
vio_fastsend(vio);
}
return 0;
}
@ -271,7 +271,7 @@ net_real_write(NET *net,const char *packet,ulong len)
int length;
char *pos,*end;
thr_alarm_t alarmed;
#if (!defined(__WIN__) && !defined(__EMX__))
#if !defined(__WIN__) && !defined(__EMX__)
ALARM alarm_buff;
#endif
uint retry_count=0;

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;
DBUG_ENTER("vio_fastsend");
DBUG_PRINT("enter", ("onoff:%d", (int) onoff));
#ifdef IPTOS_THROUGHPUT
{