@@ -3754,7 +3754,6 @@ btr_page_split_and_insert(
37543754 flags, cursor, offsets, *heap, tuple, n_ext, mtr);
37553755
37563756 if (rec != NULL ) {
3757- // ib_logf(IB_LOG_LEVEL_INFO, "page no: %lu, btr_insert_into_right_sibling() succeed",buf_block_get_page_no(block));
37583757 return (rec);
37593758 }
37603759
@@ -3763,16 +3762,12 @@ btr_page_split_and_insert(
37633762 rec = btr_page_redistribute_before_split (flags, cursor, offsets, *heap, tuple, n_ext, mtr);
37643763
37653764 if (rec!=NULL ){
3766- ib_logf (IB_LOG_LEVEL_INFO, " redistribute succeed" );
3765+ // ib_logf(IB_LOG_LEVEL_INFO, "redistribute succeed");
37673766 return (rec);
37683767
37693768 }
37703769 else {
37713770 ib_logf (IB_LOG_LEVEL_INFO, " redistribute failed" );
3772- // page_cursor = btr_cur_get_page_cur(cursor);
3773-
3774- // page_cur_search(block, cursor->index, tuple,
3775- // PAGE_CUR_LE, page_cursor);
37763771 }
37773772 }
37783773
@@ -3790,11 +3785,7 @@ btr_page_split_and_insert(
37903785 direction = FSP_UP;
37913786 hint_page_no = page_no + 1 ;
37923787 split_rec = btr_page_get_split_rec (cursor, tuple, n_ext);
3793- /* lbh */
3794- if (buf_block_get_space (block) == srv_ol_space_id){
3795- // ib_logf(IB_LOG_LEVEL_INFO, "btr_page_split_and_insert: n_iterations > 0: Split (%lu): original = %lu / %lu / %d / %lu / %lu / %s\n", 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);
3796- /* end */ }
3797-
3788+
37983789 if (split_rec == NULL ) {
37993790 insert_left = btr_page_tuple_smaller (
38003791 cursor, tuple, offsets, n_uniq, heap);
@@ -3803,18 +3794,11 @@ btr_page_split_and_insert(
38033794 direction = FSP_UP;
38043795 hint_page_no = page_no + 1 ;
38053796
3806- /* lbh */
3807- if (buf_block_get_space (block) == srv_ol_space_id){
3808- // ib_logf(IB_LOG_LEVEL_INFO, "btr_page_split_and_insert: btr_page_get_split_rec_to_right: Split (%lu): original = %lu / %lu / %d / %lu / %lu / %s",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);
3809- /* end */ }
3797+
38103798 } else if (btr_page_get_split_rec_to_left (cursor, &split_rec)) {
38113799 direction = FSP_DOWN;
38123800 hint_page_no = page_no - 1 ;
38133801
3814- /* lbh */
3815- if (buf_block_get_space (block) == srv_ol_space_id){
3816- // ib_logf(IB_LOG_LEVEL_INFO, "btr_page_split_and_insert: btr_page_get_split_rec_to_left: Split (%lu): original = %lu / %lu / %d / %lu / %lu / %s\n",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);
3817- /* end */ }
38183802 ut_ad (split_rec);
38193803 } else {
38203804 direction = FSP_UP;
0 commit comments