#At file:///export/home/x/mysql-5.1-test/ based on revid:jon.hauglid@stripped
3593 Jon Olav Hauglid 2011-02-16
Followup to Bug #11752069 (former bug 43152)
Assertion `bitmap_is_set_all(&table->s->all_set)' failed in
handler::ha_reset
This followup fixes the compilation warning
'test_bit' may be used uninitialized in this function
introduced by the previous patch.
modified:
unittest/mysys/bitmap-t.c
=== modified file 'unittest/mysys/bitmap-t.c'
--- a/unittest/mysys/bitmap-t.c 2011-02-16 15:26:19 +0000
+++ b/unittest/mysys/bitmap-t.c 2011-02-16 17:19:10 +0000
@@ -253,7 +253,7 @@ error2:
my_bool test_get_first_bit(MY_BITMAP *map, uint bitsize)
{
- uint i, test_bit;
+ uint i, test_bit= 0;
uint no_loops= bitsize > 128 ? 128 : bitsize;
bitmap_set_all(map);
Attachment: [text/bzr-bundle] bzr/jon.hauglid@oracle.com-20110216171910-zwpie6ak6e94ax3b.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1 branch (jon.hauglid:3593) Bug#11752069 | Jon Olav Hauglid | 16 Feb |