Commit 0f25be38 authored by marko's avatar marko

branches/innodb+: ibuf_get_volume_buffered(): Do not clear the

hash_bitmap a second time.  Only clear it if n_recs has been set.
parent 5f299bec
......@@ -2684,7 +2684,10 @@ ibuf_get_volume_buffered(
pcur */
volume = 0;
if (n_recs) {
memset(hash_bitmap, 0, sizeof hash_bitmap);
}
rec = btr_pcur_get_rec(pcur);
page = page_align(rec);
......@@ -2767,8 +2770,6 @@ ibuf_get_volume_buffered(
}
count_later:
memset(hash_bitmap, 0, sizeof hash_bitmap);
rec = btr_pcur_get_rec(pcur);
if (!page_rec_is_supremum(rec)) {
......
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