diff options
author | monty@narttu.mysql.fi <> | 2003-02-27 03:44:44 +0200 |
---|---|---|
committer | monty@narttu.mysql.fi <> | 2003-02-27 03:44:44 +0200 |
commit | 3b073a08e0dd99df731033339c0e29ff7c07c101 (patch) | |
tree | e734507eb0df4722e03a80a37b7b9a4c53728c3e /libmysql | |
parent | 9a46698e1efe164ac17ce0ca82b8e8ed12892c09 (diff) | |
download | mariadb-git-3b073a08e0dd99df731033339c0e29ff7c07c101.tar.gz |
Portability fixes
Don't define crc32 if we are not linking with gzip
Diffstat (limited to 'libmysql')
-rw-r--r-- | libmysql/libmysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c index 9f113f4c1b6..6fe199bb45e 100644 --- a/libmysql/libmysql.c +++ b/libmysql/libmysql.c @@ -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)); } |