summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2023-01-13 11:11:04 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2023-01-13 11:11:04 +0200
commit88c35781cc9f5f3c63de98a8b6e7eb3378d4fae5 (patch)
tree1a2c280180c19e71b87e520546b3d2473af3b1bd /sql/opt_range.cc
parent92c8d6f168f329bf7e3998a4f580781d0239b59a (diff)
parent1e04cafcba88e1801e828a5bbab7fe9fdd7ca61c (diff)
downloadmariadb-git-88c35781cc9f5f3c63de98a8b6e7eb3378d4fae5.tar.gz
Merge 10.7 into 10.8
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r--sql/opt_range.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index 9652e839862..05443ea78bf 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -10628,7 +10628,7 @@ key_or(RANGE_OPT_PARAM *param, SEL_ARG *key1,SEL_ARG *key2)
tmp: [---------]
*/
key2->copy_max_to_min(tmp);
- key2= key2_next;
+ key2->next= key2_next; // In case of key2_shared
}
continue;
}