Skip to content

Commit 97b23d7

Browse files
authored
Update insert_and_split
1 parent ea8a822 commit 97b23d7

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

mysql-5.6.26/storage/innobase/btr/btr0btr.cc

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3767,18 +3767,6 @@ btr_page_split_and_insert(
37673767
/* lbh */
37683768
/* try to redistribute to neighbor page if possible before split */
37693769

3770-
/*
3771-
ulint srv_ol_space_id = 0;
3772-
ulint srv_no_space_id = 1;
3773-
ulint srv_stk_space_id = 2;
3774-
ulint srv_cust_space_id = 3;
3775-
ulint srv_or_space_id = 4;
3776-
ulint srv_dist_space_id = 5;
3777-
ulint srv_wh_space_id = 6;
3778-
ulint srv_itm_space_id = 7;
3779-
ulint srv_his_space_id = 8;
3780-
*/
3781-
37823770
ibool tpcc_table = FALSE;
37833771

37843772
if(buf_block_get_space(btr_cur_get_block(cursor)) ==srv_ol_space_id
@@ -3790,7 +3778,7 @@ btr_page_split_and_insert(
37903778
/* mijin : page split monitoring */
37913779

37923780
if (tpcc_table && page_is_leaf(page)) {
3793-
ib_logf(IB_LOG_LEVEL_INFO, "Before Split %lu (%lu): original = %lu / %lu / %d / %lu / %lu / %s\n",buf_block_get_space(btr_cur_get_block(cursor)), rec_get_converted_size(cursor->index, tuple, n_ext), buf_block_get_page_no(block), page_get_n_recs(page), page_is_leaf(page), dict_index_is_clust(cursor->index), dict_index_is_unique(cursor->index), cursor->index->name);
3781+
//ib_logf(IB_LOG_LEVEL_INFO, "Before Split %lu (%lu): original = %lu / %lu / %d / %lu / %lu / %s\n",buf_block_get_space(btr_cur_get_block(cursor)), rec_get_converted_size(cursor->index, tuple, n_ext), buf_block_get_page_no(block), page_get_n_recs(page), page_is_leaf(page), dict_index_is_clust(cursor->index), dict_index_is_unique(cursor->index), cursor->index->name);
37943782
}
37953783
/* end */
37963784

0 commit comments

Comments
 (0)