diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-05-02 23:03:26 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-05-02 23:03:26 +0200 |
commit | e6926b06da6406b36c0e6bf4ec8151cd0237151f (patch) | |
tree | 8a765ab5dbdfe71c7bad225573db4b44c6148d8b /unittest | |
parent | 90e058e0c623f770ee602ebab86e91303f08c90a (diff) | |
download | mariadb-git-e6926b06da6406b36c0e6bf4ec8151cd0237151f.tar.gz |
Fix compile errors:
- from xtradb merge
- portability error in bitmap-t.c ( variable size array in non-portable)
Diffstat (limited to 'unittest')
-rw-r--r-- | unittest/mysys/bitmap-t.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittest/mysys/bitmap-t.c b/unittest/mysys/bitmap-t.c index bb09aaa7b50..9fca9f8ef20 100644 --- a/unittest/mysys/bitmap-t.c +++ b/unittest/mysys/bitmap-t.c @@ -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)) { |