mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 10:31:54 +01:00
Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/M50/mysql-5.0
This commit is contained in:
commit
b2c4d73997
2 changed files with 2 additions and 2 deletions
|
@ -175,7 +175,7 @@ static uint hash_rec_mask(HASH *hash,HASH_LINK *pos,uint buffmax,
|
||||||
|
|
||||||
/* for compilers which can not handle inline */
|
/* for compilers which can not handle inline */
|
||||||
static
|
static
|
||||||
#if !defined(__SUNPRO_C) && !defined(__USLC__) && !defined(__sgi)
|
#if !defined(__USLC__) && !defined(__sgi)
|
||||||
inline
|
inline
|
||||||
#endif
|
#endif
|
||||||
unsigned int rec_hashnr(HASH *hash,const byte *record)
|
unsigned int rec_hashnr(HASH *hash,const byte *record)
|
||||||
|
|
|
@ -254,7 +254,7 @@ my_bool
|
||||||
my_net_write(NET *net,const char *packet,ulong len)
|
my_net_write(NET *net,const char *packet,ulong len)
|
||||||
{
|
{
|
||||||
uchar buff[NET_HEADER_SIZE];
|
uchar buff[NET_HEADER_SIZE];
|
||||||
if (unlikely(!net->vio)) /* nowhere to write */
|
if (unlikely(!net->vio)) /* nowhere to write */
|
||||||
return 0;
|
return 0;
|
||||||
/*
|
/*
|
||||||
Big packets are handled by splitting them in packets of MAX_PACKET_LENGTH
|
Big packets are handled by splitting them in packets of MAX_PACKET_LENGTH
|
||||||
|
|
Loading…
Add table
Reference in a new issue