Skip to content

Commit

Permalink
Merge branch postfix_sample2 into galaxy-store_8018
Browse files Browse the repository at this point in the history
        Title: [postfix] InnoDB Support Sampling Scan 
        Link: https://code.alibaba-inc.com/rds_mysql/mysql-server/codereview/11945527
  • Loading branch information
jianwei.zhao committed Mar 10, 2023
2 parents 4f48857 + 0bc5647 commit b5a985c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/innobase/btr/btr0sample.cc
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ bool btr_sample_t::sample_to_next_leaf_by_parent_pcur(mtr_t *mtr, bool &found) {

bool succ;
if (restore_pcur_optimistic(parent, false, mtr, succ)) {
if (succ || parent->m_rel_pos == BTR_PCUR_AFTER) {
if (succ) {
parent->move_to_next_on_page();
}

Expand Down

0 comments on commit b5a985c

Please sign in to comment.