Skip to content

Commit

Permalink
Merge 10.2 into 10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Sep 11, 2019
2 parents 40ab433 + 863a951 commit 0fa5ad3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions storage/innobase/btr/btr0cur.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2881,7 +2881,7 @@ btr_cur_open_at_rnd_pos_func(
index->table->file_unreadable = true;
}

goto exit_loop;
break;
}

page = buf_block_get_frame(block);
Expand Down Expand Up @@ -3038,12 +3038,11 @@ btr_cur_open_at_rnd_pos_func(
n_blocks++;
}

exit_loop:
if (UNIV_LIKELY_NULL(heap)) {
mem_heap_free(heap);
}

return(true);
return err == DB_SUCCESS;
}

/*==================== B-TREE INSERT =========================*/
Expand Down
2 changes: 1 addition & 1 deletion storage/innobase/trx/trx0rec.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1905,7 +1905,7 @@ dberr_t trx_undo_report_rename(trx_t* trx, const dict_table_t* table)
ut_ad(err == DB_SUCCESS);
ut_ad(undo);
for (ut_d(int loop_count = 0);;) {
ut_ad(++loop_count < 2);
ut_ad(loop_count++ < 2);
ut_ad(undo->last_page_no == block->page.id.page_no());

if (ulint offset = trx_undo_page_report_rename(
Expand Down

0 comments on commit 0fa5ad3

Please sign in to comment.