summaryrefslogtreecommitdiff
path: root/unittest/mysys/bitmap-t.c
diff options
context:
space:
mode:
authorJon Olav Hauglid <jon.hauglid@oracle.com>2011-02-23 14:50:59 +0100
committerJon Olav Hauglid <jon.hauglid@oracle.com>2011-02-23 14:50:59 +0100
commit0c9dde5c702d055682cdc4f0d9950476abfc4b2d (patch)
tree99d331f06935886f13ac1cfc8cb55dfce232f323 /unittest/mysys/bitmap-t.c
parent07e305677764dc505289b346834b56b4c93882b4 (diff)
downloadmariadb-git-0c9dde5c702d055682cdc4f0d9950476abfc4b2d.tar.gz
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.
Diffstat (limited to 'unittest/mysys/bitmap-t.c')
-rw-r--r--unittest/mysys/bitmap-t.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittest/mysys/bitmap-t.c b/unittest/mysys/bitmap-t.c
index d0df9fbb040..a9ea7927db3 100644
--- a/unittest/mysys/bitmap-t.c
+++ b/unittest/mysys/bitmap-t.c
@@ -429,7 +429,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))
{