Commit e6926b06 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix compile errors:

- from xtradb merge
- portability error in bitmap-t.c ( variable size  array in non-portable)
parent 90e058e0
...@@ -3817,7 +3817,8 @@ try_again: ...@@ -3817,7 +3817,8 @@ try_again:
slot->pos, slot->pos,
&dummy_mess1, &dummy_mess1,
&dummy_mess2, &dummy_mess2,
&dummy_type); &dummy_type,
&space_id);
return(retval); return(retval);
} }
......
...@@ -430,7 +430,7 @@ my_bool test_intersect(MY_BITMAP *map, uint bitsize) ...@@ -430,7 +430,7 @@ my_bool test_intersect(MY_BITMAP *map, uint bitsize)
{ {
uint bitsize2 = 1 + get_rand_bit(MAX_TESTED_BITMAP_SIZE - 1); uint bitsize2 = 1 + get_rand_bit(MAX_TESTED_BITMAP_SIZE - 1);
MY_BITMAP map2; MY_BITMAP map2;
uint32 map2buf[bitsize2]; uint32 map2buf[MAX_TESTED_BITMAP_SIZE];
uint i, test_bit1, test_bit2, test_bit3; uint i, test_bit1, test_bit2, test_bit3;
if (bitmap_init(&map2, map2buf, bitsize2, FALSE)) if (bitmap_init(&map2, map2buf, bitsize2, FALSE))
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment