1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fix compile errors:

- from xtradb merge
- portability error in bitmap-t.c ( variable size  array in non-portable)
This commit is contained in:
Vladislav Vaintroub
2011-05-02 23:03:26 +02:00
parent 90e058e0c6
commit e6926b06da
2 changed files with 3 additions and 2 deletions

View File

@ -3817,7 +3817,8 @@ try_again:
slot->pos,
&dummy_mess1,
&dummy_mess2,
&dummy_type);
&dummy_type,
&space_id);
return(retval);
}

View File

@ -430,7 +430,7 @@ my_bool test_intersect(MY_BITMAP *map, uint bitsize)
{
uint bitsize2 = 1 + get_rand_bit(MAX_TESTED_BITMAP_SIZE - 1);
MY_BITMAP map2;
uint32 map2buf[bitsize2];
uint32 map2buf[MAX_TESTED_BITMAP_SIZE];
uint i, test_bit1, test_bit2, test_bit3;
if (bitmap_init(&map2, map2buf, bitsize2, FALSE))
{