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:
@ -3817,7 +3817,8 @@ try_again:
|
||||
slot->pos,
|
||||
&dummy_mess1,
|
||||
&dummy_mess2,
|
||||
&dummy_type);
|
||||
&dummy_type,
|
||||
&space_id);
|
||||
|
||||
return(retval);
|
||||
}
|
||||
|
@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user