1
0
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:
sergefp@mysql.com
2005-04-17 02:05:09 +04:00
parent 2b322f36d8
commit 2ef1963c91
3 changed files with 41 additions and 0 deletions

View File

@ -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();