1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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

@ -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))
{