summaryrefslogtreecommitdiff
path: root/storage/innobase/dict/dict0crea.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-11-17 21:35:12 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2022-11-17 21:35:12 +0200
commitf46efb4476d4cb7401ea73e4c452d9460bdd0f33 (patch)
tree7322dc983c668ea995631a4697d489a33db429e0 /storage/innobase/dict/dict0crea.cc
parent038cd5195612084542704f181695358e3b8959a8 (diff)
parentd5332086d7aa1eaef9da5850d38dd1489fad7032 (diff)
downloadmariadb-git-f46efb4476d4cb7401ea73e4c452d9460bdd0f33.tar.gz
Merge 10.7 into 10.8
Diffstat (limited to 'storage/innobase/dict/dict0crea.cc')
-rw-r--r--storage/innobase/dict/dict0crea.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/storage/innobase/dict/dict0crea.cc b/storage/innobase/dict/dict0crea.cc
index fab6ff4db8e..e2afe17f892 100644
--- a/storage/innobase/dict/dict0crea.cc
+++ b/storage/innobase/dict/dict0crea.cc
@@ -755,11 +755,12 @@ dict_create_index_tree_step(
search_tuple = dict_create_search_tuple(node->ind_row, node->heap);
node->page_no = FIL_NULL;
+ pcur.btr_cur.page_cur.index =
+ UT_LIST_GET_FIRST(dict_sys.sys_indexes->indexes);
dberr_t err =
- btr_pcur_open(UT_LIST_GET_FIRST(dict_sys.sys_indexes->indexes),
- search_tuple, PAGE_CUR_L, BTR_MODIFY_LEAF,
- &pcur, &mtr);
+ btr_pcur_open(search_tuple, PAGE_CUR_L, BTR_MODIFY_LEAF,
+ &pcur, 0, &mtr);
if (err != DB_SUCCESS) {
func_exit: