mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix for BUG#9348: when computing union of two intervals set lower bound to
minimum of lower bounds of two joined intervals.
This commit is contained in:
@ -1683,6 +1683,7 @@ key_or(SEL_ARG *key1,SEL_ARG *key2)
|
||||
last=last->next;
|
||||
key1=key1->tree_delete(save);
|
||||
}
|
||||
last->copy_min(tmp);
|
||||
if (last->copy_min(key2) || last->copy_max(key2))
|
||||
{ // Full range
|
||||
key1->free_tree();
|
||||
|
Reference in New Issue
Block a user