mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge polly.local:/tmp/maint/bug24261/my51-bug24261
into polly.local:/home/kaa/src/maint/mysql-5.1-maint
This commit is contained in:
@ -5012,7 +5012,8 @@ static SEL_TREE *get_func_mm_tree(RANGE_OPT_PARAM *param, Item_func *cond_func,
|
||||
for (uint idx= 0; idx < param->keys; idx++)
|
||||
{
|
||||
SEL_ARG *new_interval, *last_val;
|
||||
if (((new_interval= tree2->keys[idx])) &&
|
||||
if (((new_interval= tree2->keys[idx])) &&
|
||||
(tree->keys[idx]) &&
|
||||
((last_val= tree->keys[idx]->last())))
|
||||
{
|
||||
new_interval->min_value= last_val->max_value;
|
||||
|
Reference in New Issue
Block a user