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

After merge fixes

Removed a lot of compiler warnings
Removed not used variables, functions and labels
Initialize some variables that could be used unitialized (fatal bugs)
%ll -> %l
This commit is contained in:
monty@mysql.com/narttu.mysql.fi
2007-01-29 01:47:35 +02:00
parent 8a80e36ac3
commit 410fc81a72
67 changed files with 465 additions and 446 deletions

View File

@ -171,7 +171,7 @@ void bitmap_free(MY_BITMAP *map)
my_bool bitmap_fast_test_and_set(MY_BITMAP *map, uint bitmap_bit)
{
uchar *value= (uchar*) (map->bitmap + (bitmap_bit / 8));
uchar *value= ((uchar*) map->bitmap) + (bitmap_bit / 8);
uchar bit= 1 << ((bitmap_bit) & 7);
uchar res= (*value) & bit;
*value|= bit;