mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
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.
This commit is contained in:
parent
d836a70547
commit
64deac5563
1 changed files with 3 additions and 3 deletions
|
@ -2527,8 +2527,8 @@ ibuf_contract_after_insert(
|
||||||
}
|
}
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
Gets an upper limit for the combined size of entries buffered in the insert
|
Gets an upper limit for the combined size of inserts buffered for a
|
||||||
buffer for a given page. */
|
given page. */
|
||||||
static
|
static
|
||||||
ulint
|
ulint
|
||||||
ibuf_get_volume_buffered(
|
ibuf_get_volume_buffered(
|
||||||
|
@ -2560,7 +2560,7 @@ ibuf_get_volume_buffered(
|
||||||
ut_ad((pcur->latch_mode == BTR_MODIFY_PREV)
|
ut_ad((pcur->latch_mode == BTR_MODIFY_PREV)
|
||||||
|| (pcur->latch_mode == BTR_MODIFY_TREE));
|
|| (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 */
|
pcur */
|
||||||
|
|
||||||
volume = 0;
|
volume = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue