1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Portability fixes

Don't define crc32 if we are not linking with gzip
This commit is contained in:
monty@narttu.mysql.fi
2003-02-27 03:44:44 +02:00
parent 9a46698e1e
commit 3b073a08e0
30 changed files with 192 additions and 55 deletions

View File

@ -4293,7 +4293,7 @@ static void store_param_str(NET *net, MYSQL_BIND *param)
static void store_param_null(NET *net, MYSQL_BIND *param)
{
uint pos= param->param_number;
(uchar) net->buff[pos/8]|= (1 << pos & 7);
net->buff[pos/8]|= (uchar) (1 << (pos & 7));
}