mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge 10.6 into 10.7
This commit is contained in:
@@ -1890,7 +1890,7 @@ SEL_ARG::SEL_ARG(SEL_ARG &arg) :Sql_alloc()
|
||||
next= 0;
|
||||
if (next_key_part)
|
||||
{
|
||||
++next_key_part->use_count;
|
||||
next_key_part->increment_use_count(1);
|
||||
weight += next_key_part->weight;
|
||||
}
|
||||
}
|
||||
@@ -10605,8 +10605,7 @@ key_or(RANGE_OPT_PARAM *param, SEL_ARG *key1,SEL_ARG *key2)
|
||||
Move on to next range in key2
|
||||
*/
|
||||
key2->increment_use_count(-1); // Free not used tree
|
||||
key2=key2_next;
|
||||
continue;
|
||||
key2= key2_next;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -10620,8 +10619,9 @@ key_or(RANGE_OPT_PARAM *param, SEL_ARG *key1,SEL_ARG *key2)
|
||||
tmp: [---------]
|
||||
*/
|
||||
key2->copy_max_to_min(tmp);
|
||||
continue;
|
||||
key2= key2_next;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user