Commit 64deac55 authored by marko's avatar marko

branches/innodb+: ibuf_get_volume_buffered(): Note that the volume

includes only buffered inserts, not delete-marks or deletes.
This is because ibuf_rec_get_volume() only returns nonzero for inserts.
parent d836a705
......@@ -2527,8 +2527,8 @@ ibuf_contract_after_insert(
}
/*************************************************************************
Gets an upper limit for the combined size of entries buffered in the insert
buffer for a given page. */
Gets an upper limit for the combined size of inserts buffered for a
given page. */
static
ulint
ibuf_get_volume_buffered(
......@@ -2560,7 +2560,7 @@ ibuf_get_volume_buffered(
ut_ad((pcur->latch_mode == BTR_MODIFY_PREV)
|| (pcur->latch_mode == BTR_MODIFY_TREE));
/* Count the volume of records earlier in the alphabetical order than
/* Count the volume of inserts earlier in the alphabetical order than
pcur */
volume = 0;
......
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