Commit cad168dc authored by Jon Olav Hauglid's avatar Jon Olav Hauglid

Bug #11752069 (former bug 43152)

Assertion `bitmap_is_set_all(&table->s->all_set)' failed in
handler::ha_reset

Post-push fix for unit test compilation error on Windows.
parent ae59a024
...@@ -429,7 +429,7 @@ my_bool test_intersect(MY_BITMAP *map, uint bitsize) ...@@ -429,7 +429,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