Commit 70f1f9e4 authored by marko's avatar marko

branches/zip: Non-functional changes:

ibuf_get_volume_buffered(): Declare with static linkage.
This function is private to ibuf0ibuf.c.

btr_cur_pessimistic_delete(): Use the cached result of
btr_cur_get_index(cursor).
parent d8fd1aec
...@@ -2877,7 +2877,7 @@ btr_cur_pessimistic_delete( ...@@ -2877,7 +2877,7 @@ btr_cur_pessimistic_delete(
} }
if (UNIV_UNLIKELY(page_get_n_recs(page) < 2) if (UNIV_UNLIKELY(page_get_n_recs(page) < 2)
&& UNIV_UNLIKELY(dict_index_get_page(btr_cur_get_index(cursor)) && UNIV_UNLIKELY(dict_index_get_page(index)
!= buf_block_get_page_no(block))) { != buf_block_get_page_no(block))) {
/* If there is only one record, drop the whole page in /* If there is only one record, drop the whole page in
......
...@@ -2380,7 +2380,7 @@ ibuf_contract_after_insert( ...@@ -2380,7 +2380,7 @@ 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 entries buffered in the insert
buffer for a given page. */ buffer for a given page. */
UNIV_INTERN static
ulint ulint
ibuf_get_volume_buffered( ibuf_get_volume_buffered(
/*=====================*/ /*=====================*/
......
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