mirror of
https://github.com/MariaDB/server.git
synced 2026-04-24 09:15:30 +02:00
page0cur.c:
Fix bug in PAGE_CUR_LE_OR_EXTENDS search innobase/page/page0cur.c: Fix bug in PAGE_CUR_LE_OR_EXTENDS search
This commit is contained in:
parent
92d93cae72
commit
380115abd7
1 changed files with 4 additions and 2 deletions
|
|
@ -253,7 +253,8 @@ page_cur_search_with_match(
|
|||
up_matched_bytes = cur_matched_bytes;
|
||||
}
|
||||
|
||||
} else if ((mode == PAGE_CUR_G) || (mode == PAGE_CUR_LE)) {
|
||||
} else if (mode == PAGE_CUR_G || mode == PAGE_CUR_LE
|
||||
|| mode == PAGE_CUR_LE_OR_EXTENDS) {
|
||||
low = mid;
|
||||
low_matched_fields = cur_matched_fields;
|
||||
low_matched_bytes = cur_matched_bytes;
|
||||
|
|
@ -308,7 +309,8 @@ page_cur_search_with_match(
|
|||
up_matched_fields = cur_matched_fields;
|
||||
up_matched_bytes = cur_matched_bytes;
|
||||
}
|
||||
} else if ((mode == PAGE_CUR_G) || (mode == PAGE_CUR_LE)) {
|
||||
} else if (mode == PAGE_CUR_G || mode == PAGE_CUR_LE
|
||||
|| mode == PAGE_CUR_LE_OR_EXTENDS) {
|
||||
low_rec = mid_rec;
|
||||
low_matched_fields = cur_matched_fields;
|
||||
low_matched_bytes = cur_matched_bytes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue